Update vmcreate1.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user