Update vmcreate.sh

This commit is contained in:
2025-11-02 12:37:37 +00:00
parent e495642383
commit fa2aef99c6

View File

@@ -4,6 +4,12 @@
# Добавить переезд на ноду, выбор ноды. Статистика загрузки нод - в хелп.
# ИЗУЧИТЬ!!!! /usr/share/pve-docs/examples/guest-example-hookscript.pl
if dpkg -s mkpasswd &>/dev/null; then
echo
else
echo "'mkpasswd' is NOT installed. Psease consider 'apt install whois'"
fi
storage="syno-tigra"
path="/mnt/pve/${storage}/snippets/"
node=$(hostname | rev | cut -c4)