From 4cd530c08672c1c1b7ed45c5dd3d49a7a3457566 Mon Sep 17 00:00:00 2001 From: Dmitry Badovsky Date: Sun, 26 Oct 2025 15:35:10 +0000 Subject: [PATCH] Update vmcreate1.sh --- vmcreate1.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 ###