command="$BUILD/vtest-init-vserver.sh -p $PERSO -f $DISTRO $HOSTNAME none -- --netdev eth0 --interface $ip --hostname $fqdn"
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
-echo YES $command ; exit
$command