utility to get single_ip right
[infrastructure.git] / scripts / create-vm.sh
index 2a6e7f1..6baafc5 100755 (executable)
@@ -49,10 +49,10 @@ 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 -- --netdev eth0 --interface $ip --interface nodev:127.0.0.1 --hostname $fqdn" --flags '~single_ip'
 
 if [ -n "$INTERACTIVE" ] ; then
-    echo "Run $command OK ? "
+    echo -n "Run $command OK ? "
     read answer ; case $answer in [nN]*) exit 1 ;; esac
 fi