Update vmcreate1.sh

This commit is contained in:
2025-10-26 20:37:58 +00:00
parent 42141af48c
commit 50ee844628

View File

@@ -2,9 +2,7 @@
### ВКЛЮЧИТЬ qm start !!!!!!!!!!!
### МЫСЛИ ПО ФИЧАМ
# Сделать проверку, какие правила НА существуют, и вывести выбор /etc/pve/ha/rules.cfg
# Сделать замену тега влан
# Добавить переезд на ноду, выбор ноды. Статистика загрузки нод - в хелп.
# Добавить тег прокса
# ИЗУЧИТЬ!!!! /usr/share/pve-docs/examples/guest-example-hookscript.pl
storage="syno-tigra"
@@ -116,13 +114,20 @@ while getopts "a:f:hk:u:p:d:t:" opt; do
done
# DEBUG Print specified options
if [[ -v $harule ]]; then echo "harule: $harule"; fi
if [[ -v $file ]]; then echo "file: $file"; fi
if [[ -v $pubkey ]]; then echo "pubkey: $pubkey"; fi
if [[ -v $username ]]; then echo "username: $username"; fi
if [[ -v $password ]]; then echo "password: $password"; fi
if [[ -v $size ]]; then echo "size: $size"; fi
if [[ -v $tag ]]; then echo "tag: $tag"; fi
# if [[ -v $harule ]]; then echo "harule: $harule"; fi
# if [[ -v $file ]]; then echo "file: $file"; fi
# if [[ -v $pubkey ]]; then echo "pubkey: $pubkey"; fi
# if [[ -v $username ]]; then echo "username: $username"; fi
# if [[ -v $password ]]; then echo "password: $password"; fi
# if [[ -v $size ]]; then echo "size: $size"; fi
# if [[ -v $tag ]]; then echo "tag: $tag"; fi
echo $harule
echo $file
echo $pubkey
echo $username
echo $password
echo $size
echo $tag
exit 102
# END DEBUG