From dfd20aff4a6128117fb5cedf004768394618e9e7 Mon Sep 17 00:00:00 2001 From: Dmitry Badovsky Date: Sun, 26 Oct 2025 13:56:23 +0000 Subject: [PATCH] Update vmcreate1.sh --- vmcreate1.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vmcreate1.sh b/vmcreate1.sh index 124a6ba..91b564b 100644 --- a/vmcreate1.sh +++ b/vmcreate1.sh @@ -13,7 +13,7 @@ path="./snippets" node=3 size=50 -show_help() +show_help(){ echo 'Usage:' echo 'vmcreate [-h][-a rule_name][-k pub_keyfile][-u][-p][-d 50][-t][-f filename]' echo 'Arguments:' @@ -28,7 +28,7 @@ show_help() echo "\nIf file not specified, script will use arguments as a list of IP addresses." echo "In this case Hostname will be inherited from 2 last IP octets. Example for 10.10.35.20: `vm035020`." echo "IP address should be 10.10.*.*" - +} # Обрабатываем опции while getopts "a:f:h" opt; do