oops
[infrastructure.git] / scripts / create-vm.sh
index 669d3c4..2351987 100755 (executable)
@@ -49,11 +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"
+command="$BUILD/vtest-init-vserver.sh -p $PERSO -f $DISTRO $HOSTNAME none --interface nodev:$ip --hostname $fqdn --flags ~single_ip"
 
 if [ -n "$INTERACTIVE" ] ; then
-    echo "Run $command OK ? "
-    read _ ; case $_ in [nN]*) exit 1 ;; esac
+    echo -n "Run $command OK ? "
+    read answer ; case $answer in [nN]*) exit 1 ;; esac
 fi
 
 $command