Update vmcreate1.sh

This commit is contained in:
2025-10-26 20:28:33 +00:00
parent bb88357c18
commit 8d414da5fd

View File

@@ -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 адрес.