X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fcreate-vm.sh;h=d22efb4fd17cd279472793f16f0d19946ce3ec1b;hb=57c2d4770d6e3d164e60eae106991d7fe5996f1a;hp=f8b0e57c2d0142c4f28562184c7dd7513ca6ada5;hpb=67525894a7d00aaf6055e625930f5d29268eed4d;p=infrastructure.git diff --git a/scripts/create-vm.sh b/scripts/create-vm.sh index f8b0e57..d22efb4 100755 --- a/scripts/create-vm.sh +++ b/scripts/create-vm.sh @@ -16,7 +16,7 @@ LOGS=$HOME/machines DOMAIN=pl.sophia.inria.fr -DEFAULT_DISTRO=f20 +DEFAULT_DISTRO=f21 CONFIRM= function usage () { @@ -40,7 +40,7 @@ function usage () { } # using HOSTNAME won't work as this is already set in environment -while getopts "cf:i:m:n:h" flag; do +while getopts "cf:i:m:n:sh" flag; do case $flag in c) CONFIRM=true ;; f) DISTRO=$OPTARG ;;