tom

Fixed onos-patch-vm script.

......@@ -15,6 +15,8 @@ name=${2:-onos-1}
ssh $remote "
sudo perl -pi.bak -e \"s/127.0.1.1.*/127.0.1.1 $name/g\" /etc/hosts
sudo echo $name /etc/hostname
sudo perl -pi.bak -e \"s/.*/$name/g\" /etc/hostname
sudo hostname $name
"
\ No newline at end of file
" 2>/dev/null
echo "$address: $(ssh $remote hostname)"
......