Update vmcreate.sh

This commit is contained in:
2025-10-28 12:58:53 +00:00
parent bbef84299e
commit 7f669b0d51

View File

@@ -6,7 +6,7 @@
# ИЗУЧИТЬ!!!! /usr/share/pve-docs/examples/guest-example-hookscript.pl
storage="syno-tigra"
path="/mnt/pve/$storage/snippets"
path="/mnt/pve/$storage/snippets/"
node=3
size=50
@@ -122,6 +122,8 @@ while getopts "a:f:hk:u:p:d:n:t:" opt; do
esac
done
if [ $tag ]; then tag=",${tag}"
if [ $harule ]; then
hostcheck "$harule"
if [ $? -ne 0 ]; then echo "HArule should contain only letters, numbers and dashes. Aborting."; exit 1; fi