Update vmcreate1.sh
This commit is contained in:
@@ -15,6 +15,7 @@ node=3
|
||||
size=50
|
||||
|
||||
show_help(){
|
||||
echo
|
||||
echo 'Usage:'
|
||||
echo 'vmcreate [-h][-a rule_name][-k pub_keyfile][-u][-p][-d 50][-t][-f filename]'
|
||||
echo 'Arguments:'
|
||||
@@ -30,6 +31,7 @@ show_help(){
|
||||
echo "If 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.XXX.YYY"
|
||||
echo
|
||||
}
|
||||
|
||||
#Функция создания VMID, аргумент - IPv4 адрес.
|
||||
|
||||
Reference in New Issue
Block a user