Update vmcreate1.sh
This commit is contained in:
12
vmcreate1.sh
12
vmcreate1.sh
@@ -19,14 +19,14 @@ show_help(){
|
||||
echo 'Usage:'
|
||||
echo 'vmcreate [-h][-a rule_name][-k pub_keyfile][-u][-p][-d 50][-t][-f filename]'
|
||||
echo 'Arguments:'
|
||||
echo '-h - show this help;'
|
||||
echo '-a - add hosts to HA affinity rules;'
|
||||
echo "-k - embed custom public key or create new if 'pub_keyfile' not specified"
|
||||
echo "-u - specify user instead of default 'root'"
|
||||
echo "-p - specify password instead of default"
|
||||
echo '-h - show this help.'
|
||||
echo '-a - add hosts to HA affinity rules with name 'rule_name'.'
|
||||
echo "-k - embed custom public key or create new if 'pub_keyfile' does not exist."
|
||||
echo "-u - specify user instead of default 'root'."
|
||||
echo "-p - specify password instead of default."
|
||||
echo "-d - add custom disk space (in gibibytes, integer). Default is 50."
|
||||
echo "-t - add additional proxmox tag. Default is only pve node number."
|
||||
echo "-f - get IP addresses and Hostnames from 'flilename'"
|
||||
echo "-f - get IP addresses and Hostnames from 'flilename'."
|
||||
echo
|
||||
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'."
|
||||
|
||||
Reference in New Issue
Block a user