the right setup hopefully
[infrastructure.git] / scripts / create-vm.sh
index 2a6e7f1..f4e18d8 100755 (executable)
@@ -49,10 +49,11 @@ cd $BUILD
 git pull
 cd -
 
-command="$BUILD/vtest-init-vserver.sh -p $PERSO -f $DISTRO $HOSTNAME none -- --netdev eth0 --interface $ip --hostname $fqdn"
+# single_ip needs to be turned off, vtest-init-vserver now takes care of that
+command="$BUILD/vtest-init-vserver.sh -p $PERSO -f $DISTRO $HOSTNAME none -- --interface nodev:$ip --hostname $fqdn"
 
 if [ -n "$INTERACTIVE" ] ; then
-    echo "Run $command OK ? "
+    echo -n "Run $command OK ? "
     read answer ; case $answer in [nN]*) exit 1 ;; esac
 fi