diff --git a/vmcreate.sh b/vmcreate.sh index 94b02b3..4035bad 100644 --- a/vmcreate.sh +++ b/vmcreate.sh @@ -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)