From 7f669b0d51f549a9fc04ebf4c3ddc23ec7619e11 Mon Sep 17 00:00:00 2001 From: Dmitry Badovsky Date: Tue, 28 Oct 2025 12:58:53 +0000 Subject: [PATCH] Update vmcreate.sh --- vmcreate.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vmcreate.sh b/vmcreate.sh index cb0e898..78582df 100644 --- a/vmcreate.sh +++ b/vmcreate.sh @@ -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