diff --git a/vmcreate1.sh b/vmcreate1.sh index c15d2ac..ef90d48 100644 --- a/vmcreate1.sh +++ b/vmcreate1.sh @@ -119,10 +119,10 @@ echo "DEBUG options amount: $#" if ! [[ $size -ge 10 && $size -le 500 ]]; then echo "Disk size increment shoud be in range of 10..500. Aborting."; exit 1; fi # Вывод переменных для дебага: -if [[ -v file ]]; then echo "File: $file"; fi -if [[ -v pubkey ]]; then echo "Public key: $pubkey"; fi -if [[ -v username ]]; then echo "User: $file"; fi -echo "END DEBUG 1"; exit 101 +#if [[ -v file ]]; then echo "File: $file"; fi +#if [[ -v pubkey ]]; then echo "Public key: $pubkey"; fi +#if [[ -v username ]]; then echo "User: $file"; fi +#echo "END DEBUG 1"; exit 101 # Если файл не задан, но флаг есть if [[ $# -eq 0 && -v "$file" && ! -e "$file" ]]; then @@ -211,7 +211,7 @@ if [ -v pubkey ]; then fi ###DEBUG 1 -echo "File hosts.tmp:" +echo "DEBUG File hosts.tmp:" cat hosts.tmp; echo ###