From fa2aef99c6ed6a00cd89884de01c82f7ba282589 Mon Sep 17 00:00:00 2001 From: Dmitry Badovsky Date: Sun, 2 Nov 2025 12:37:37 +0000 Subject: [PATCH] Update vmcreate.sh --- vmcreate.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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)