Maintenance (#365)

* Update debian-v3.sh

* Update debian-v3.sh

* Update adguard-v3.sh

* Update daemonsync-v3.sh

* Update dashy-v3.sh

* Update deconz-v3.sh

* Update docker-v3.sh

* Update esphome-v3.sh

* Update grafana-v3.sh

* Update heimdalldashboard-v3.sh

* Update homeassistant-v3.sh

* Update homebridge-v3.sh

* Update influxdb-v3.sh

* Update iobroker-v3.sh

* Update jellyfin-v3.sh

* Update keycloak-v3.sh

* Update magicmirror-v3.sh

* Update mariadb-v3.sh

* Update meshcentral-v3.sh

* Update motioneye-v3.sh

* Update mqtt-v3.sh

* Update nginx-proxy-manager-v3.sh

* Update nocodb-v3.sh

* Update node-red-v3.sh

* Update omada-v3.sh

* Update openhab-v3.sh

* Update photoprism-v3.sh

* Update pihole-v3.sh

* Update plex-v3.sh

* Update podman-homeassistant-v3.sh

* Update postgresql-v3.sh

* Update prometheus-v3.sh

* Update technitiumdns-v3.sh

* Update ubuntu-v3.sh

* Update unifi-v3.sh

* Update uptimekuma-v3.sh

* Update vaultwarden-v3.sh

* Update whoogle-v3.sh

* Update wireguard-v3.sh

* Update zigbee2mqtt-v3.sh

* Update zwavejs2mqtt-v3.sh

* Update haos_vm.sh

* Update haos_vm.sh
This commit is contained in:
tteckster 2022-07-21 10:22:33 -04:00 committed by GitHub
parent df91454ca6
commit ed377bd06d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
41 changed files with 83 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -32,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
APP="Debian" APP="Debian"
var_disk="2" var_disk="2"
var_cpu="1" var_cpu="1"
@ -47,6 +48,7 @@ function msg_ok() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
APP="deCONZ" APP="deCONZ"
var_disk="4" var_disk="4"
var_cpu="2" var_cpu="2"
@ -47,6 +48,7 @@ function msg_ok() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
PP=`echo "\e[1;35m"` PP=`echo "\e[1;35m"`
@ -32,6 +33,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -32,6 +33,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
APP="Keycloak" APP="Keycloak"
var_disk="4" var_disk="4"
var_cpu="2" var_cpu="2"
@ -47,6 +48,7 @@ function msg_ok() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
APP="MagicMirror" APP="MagicMirror"
var_disk="3" var_disk="3"
var_cpu="1" var_cpu="1"
@ -47,6 +48,7 @@ function msg_ok() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
APP="openHAB" APP="openHAB"
var_disk="8" var_disk="8"
var_cpu="2" var_cpu="2"
@ -47,6 +48,7 @@ function msg_ok() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
PP=`echo "\e[1;35m"` PP=`echo "\e[1;35m"`
@ -32,6 +33,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -32,6 +33,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -32,6 +33,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
APP="PostgreSQL" APP="PostgreSQL"
var_disk="4" var_disk="4"
var_cpu="1" var_cpu="1"
@ -47,6 +48,7 @@ function msg_ok() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
APP="Prometheus" APP="Prometheus"
var_disk="4" var_disk="4"
var_cpu="1" var_cpu="1"
@ -47,6 +48,7 @@ function msg_ok() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
APP="Whoogle" APP="Whoogle"
var_disk="2" var_disk="2"
var_cpu="1" var_cpu="1"
@ -48,6 +49,7 @@ function msg_ok() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -31,6 +32,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -32,6 +33,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
INTEGER='^[0-9]+$' INTEGER='^[0-9]+$'
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
@ -32,6 +33,7 @@ function error_exit() {
} }
while true; do while true; do
clear
read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;

View File

@ -1,8 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "Loading..."
GEN_MAC=$(echo '00 60 2f'$(od -An -N3 -t xC /dev/urandom) | sed -e 's/ /:/g' | tr '[:lower:]' '[:upper:]') GEN_MAC=$(echo '00 60 2f'$(od -An -N3 -t xC /dev/urandom) | sed -e 's/ /:/g' | tr '[:lower:]' '[:upper:]')
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
RELEASE=$(curl -sX GET "https://api.github.com/repos/home-assistant/operating-system/releases" | awk '/tag_name/{print $4;exit}' FS='[""]') RELEASE=$(curl -sX GET "https://api.github.com/repos/home-assistant/operating-system/releases" | awk '/tag_name/{print $4;exit}' FS='[""]')
STABLE="8.2" STABLE="8.1"
YW=`echo "\033[33m"` YW=`echo "\033[33m"`
BL=`echo "\033[36m"` BL=`echo "\033[36m"`
RD=`echo "\033[01;31m"` RD=`echo "\033[01;31m"`
@ -50,6 +51,7 @@ TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
while true; do while true; do
clear
read -p "This will create a New Home Assistant OS VM. Proceed(y/n)?" yn read -p "This will create a New Home Assistant OS VM. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;