Update vmcreate.sh
This commit is contained in:
@@ -4,6 +4,12 @@
|
|||||||
# Добавить переезд на ноду, выбор ноды. Статистика загрузки нод - в хелп.
|
# Добавить переезд на ноду, выбор ноды. Статистика загрузки нод - в хелп.
|
||||||
# ИЗУЧИТЬ!!!! /usr/share/pve-docs/examples/guest-example-hookscript.pl
|
# ИЗУЧИТЬ!!!! /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"
|
storage="syno-tigra"
|
||||||
path="/mnt/pve/${storage}/snippets/"
|
path="/mnt/pve/${storage}/snippets/"
|
||||||
node=$(hostname | rev | cut -c4)
|
node=$(hostname | rev | cut -c4)
|
||||||
|
|||||||
Reference in New Issue
Block a user