diff --git a/vmcreate.sh b/vmcreate.sh index 1dcd0d7..94b02b3 100644 --- a/vmcreate.sh +++ b/vmcreate.sh @@ -36,7 +36,7 @@ show_help () { echo "-u - specify user instead of default 'root'." echo "-p - specify password instead of default." echo "-d - add custom disk space (in gibibytes, integer). Default is 50." - echo "-n - specify target node NUMBER to migrate VM to after creating. Default is '3'" + # echo "-n - specify target node NUMBER to migrate VM to after creating. Default is '3'" echo "-t - add additional proxmox tag. Default is only pve node number." echo "-f - get IP addresses and Hostnames from 'flilename'." echo "-s - specify custom snippet template. Default is 'user.yaml'" @@ -148,7 +148,7 @@ REMOVE () { } # Обрабатываем опции -while getopts "a:f:hk:u:p:d:n:t:s:R" opt; do +while getopts "a:f:hk:u:p:d:t:s:R" opt; do case $opt in a) harule=${OPTARG};; f) file=${OPTARG};; @@ -157,7 +157,7 @@ while getopts "a:f:hk:u:p:d:n:t:s:R" opt; do u) username=${OPTARG};; p) password=${OPTARG};; d) size=${OPTARG};; - n) node=${OPTARG};; + # n) node=${OPTARG};; t) tag=${OPTARG};; s) template=${OPTARG};; R) remove=true;;