From ed377bd06d3a311d9c9d6f91c4a15a57b0ef4ef0 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 21 Jul 2022 10:22:33 -0400 Subject: [PATCH] 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 --- ct/adguard-v3.sh | 3 ++- ct/daemonsync-v3.sh | 2 ++ ct/dashy-v3.sh | 2 ++ ct/debian-v3.sh | 2 ++ ct/deconz-v3.sh | 2 ++ ct/docker-v3.sh | 2 ++ ct/esphome-v3.sh | 2 ++ ct/grafana-v3.sh | 2 ++ ct/heimdalldashboard-v3.sh | 2 ++ ct/homeassistant-v3.sh | 2 ++ ct/homebridge-v3.sh | 2 ++ ct/influxdb-v3.sh | 2 ++ ct/iobroker-v3.sh | 2 ++ ct/jellyfin-v3.sh | 2 ++ ct/keycloak-v3.sh | 2 ++ ct/magicmirror-v3.sh | 2 ++ ct/mariadb-v3.sh | 2 ++ ct/meshcentral-v3.sh | 2 ++ ct/motioneye-v3.sh | 2 ++ ct/mqtt-v3.sh | 2 ++ ct/nginx-proxy-manager-v3.sh | 2 ++ ct/nocodb-v3.sh | 2 ++ ct/node-red-v3.sh | 2 ++ ct/omada-v3.sh | 2 ++ ct/openhab-v3.sh | 2 ++ ct/photoprism-v3.sh | 2 ++ ct/pihole-v3.sh | 2 ++ ct/plex-v3.sh | 2 ++ ct/podman-homeassistant-v3.sh | 2 ++ ct/postgresql-v3.sh | 2 ++ ct/prometheus-v3.sh | 2 ++ ct/technitiumdns-v3.sh | 2 ++ ct/ubuntu-v3.sh | 2 ++ ct/unifi-v3.sh | 2 ++ ct/uptimekuma-v3.sh | 2 ++ ct/vaultwarden-v3.sh | 2 ++ ct/whoogle-v3.sh | 2 ++ ct/wireguard-v3.sh | 2 ++ ct/zigbee2mqtt-v3.sh | 2 ++ ct/zwavejs2mqtt-v3.sh | 2 ++ vm/haos_vm.sh | 4 +++- 41 files changed, 83 insertions(+), 2 deletions(-) diff --git a/ct/adguard-v3.sh b/ct/adguard-v3.sh index de7e7e8c..26955d34 100644 --- a/ct/adguard-v3.sh +++ b/ct/adguard-v3.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash - +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -32,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/daemonsync-v3.sh b/ct/daemonsync-v3.sh index f4b50508..df44541e 100644 --- a/ct/daemonsync-v3.sh +++ b/ct/daemonsync-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/dashy-v3.sh b/ct/dashy-v3.sh index 8d74bd5d..b7e795d2 100644 --- a/ct/dashy-v3.sh +++ b/ct/dashy-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/debian-v3.sh b/ct/debian-v3.sh index 4003fd90..79c9bdd1 100644 --- a/ct/debian-v3.sh +++ b/ct/debian-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." APP="Debian" var_disk="2" var_cpu="1" @@ -47,6 +48,7 @@ function msg_ok() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/deconz-v3.sh b/ct/deconz-v3.sh index 6997e34c..3679fb6c 100644 --- a/ct/deconz-v3.sh +++ b/ct/deconz-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." APP="deCONZ" var_disk="4" var_cpu="2" @@ -47,6 +48,7 @@ function msg_ok() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/docker-v3.sh b/ct/docker-v3.sh index bca99c7e..3c2c71a4 100644 --- a/ct/docker-v3.sh +++ b/ct/docker-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/esphome-v3.sh b/ct/esphome-v3.sh index 8616eb25..b39f4f07 100644 --- a/ct/esphome-v3.sh +++ b/ct/esphome-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/grafana-v3.sh b/ct/grafana-v3.sh index d106ab55..cf708a67 100644 --- a/ct/grafana-v3.sh +++ b/ct/grafana-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/heimdalldashboard-v3.sh b/ct/heimdalldashboard-v3.sh index c56ab9e1..1a1eb641 100644 --- a/ct/heimdalldashboard-v3.sh +++ b/ct/heimdalldashboard-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' PP=`echo "\e[1;35m"` @@ -32,6 +33,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/homeassistant-v3.sh b/ct/homeassistant-v3.sh index 4bedfe63..ad4dc553 100644 --- a/ct/homeassistant-v3.sh +++ b/ct/homeassistant-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/homebridge-v3.sh b/ct/homebridge-v3.sh index 0bb4cd62..629a9a19 100644 --- a/ct/homebridge-v3.sh +++ b/ct/homebridge-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/influxdb-v3.sh b/ct/influxdb-v3.sh index 075c51d4..d4288d8b 100644 --- a/ct/influxdb-v3.sh +++ b/ct/influxdb-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/iobroker-v3.sh b/ct/iobroker-v3.sh index 55f98b00..f6a52106 100644 --- a/ct/iobroker-v3.sh +++ b/ct/iobroker-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/jellyfin-v3.sh b/ct/jellyfin-v3.sh index 2262277d..59b4cae9 100644 --- a/ct/jellyfin-v3.sh +++ b/ct/jellyfin-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -32,6 +33,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/keycloak-v3.sh b/ct/keycloak-v3.sh index ddfd12ae..f11080d3 100644 --- a/ct/keycloak-v3.sh +++ b/ct/keycloak-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." APP="Keycloak" var_disk="4" var_cpu="2" @@ -47,6 +48,7 @@ function msg_ok() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/magicmirror-v3.sh b/ct/magicmirror-v3.sh index ab15832f..fc2fa201 100644 --- a/ct/magicmirror-v3.sh +++ b/ct/magicmirror-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." APP="MagicMirror" var_disk="3" var_cpu="1" @@ -47,6 +48,7 @@ function msg_ok() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/mariadb-v3.sh b/ct/mariadb-v3.sh index 3ec3fd17..74c52575 100644 --- a/ct/mariadb-v3.sh +++ b/ct/mariadb-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/meshcentral-v3.sh b/ct/meshcentral-v3.sh index 1b47dfc1..ff411439 100644 --- a/ct/meshcentral-v3.sh +++ b/ct/meshcentral-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/motioneye-v3.sh b/ct/motioneye-v3.sh index a837501c..1c3ca29e 100644 --- a/ct/motioneye-v3.sh +++ b/ct/motioneye-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/mqtt-v3.sh b/ct/mqtt-v3.sh index d9e7f025..7d74a950 100644 --- a/ct/mqtt-v3.sh +++ b/ct/mqtt-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/nginx-proxy-manager-v3.sh b/ct/nginx-proxy-manager-v3.sh index 3485393f..bfcf2225 100644 --- a/ct/nginx-proxy-manager-v3.sh +++ b/ct/nginx-proxy-manager-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/nocodb-v3.sh b/ct/nocodb-v3.sh index 34712d40..9ede88a8 100644 --- a/ct/nocodb-v3.sh +++ b/ct/nocodb-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/node-red-v3.sh b/ct/node-red-v3.sh index f0331e4d..58252e17 100644 --- a/ct/node-red-v3.sh +++ b/ct/node-red-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/omada-v3.sh b/ct/omada-v3.sh index 513d93f3..7b97dace 100644 --- a/ct/omada-v3.sh +++ b/ct/omada-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/openhab-v3.sh b/ct/openhab-v3.sh index 35d512c4..a4726cb0 100644 --- a/ct/openhab-v3.sh +++ b/ct/openhab-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." APP="openHAB" var_disk="8" var_cpu="2" @@ -47,6 +48,7 @@ function msg_ok() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/photoprism-v3.sh b/ct/photoprism-v3.sh index bc2f2362..3f90236f 100644 --- a/ct/photoprism-v3.sh +++ b/ct/photoprism-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' PP=`echo "\e[1;35m"` @@ -32,6 +33,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/pihole-v3.sh b/ct/pihole-v3.sh index 88c5a57e..03a5b577 100644 --- a/ct/pihole-v3.sh +++ b/ct/pihole-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/plex-v3.sh b/ct/plex-v3.sh index 8d3ea495..da77b58e 100644 --- a/ct/plex-v3.sh +++ b/ct/plex-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -32,6 +33,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/podman-homeassistant-v3.sh b/ct/podman-homeassistant-v3.sh index 97d2048d..30985849 100644 --- a/ct/podman-homeassistant-v3.sh +++ b/ct/podman-homeassistant-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -32,6 +33,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/postgresql-v3.sh b/ct/postgresql-v3.sh index 788fea92..d68d8102 100644 --- a/ct/postgresql-v3.sh +++ b/ct/postgresql-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." APP="PostgreSQL" var_disk="4" var_cpu="1" @@ -47,6 +48,7 @@ function msg_ok() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/prometheus-v3.sh b/ct/prometheus-v3.sh index ad555450..a41f5125 100644 --- a/ct/prometheus-v3.sh +++ b/ct/prometheus-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." APP="Prometheus" var_disk="4" var_cpu="1" @@ -47,6 +48,7 @@ function msg_ok() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/technitiumdns-v3.sh b/ct/technitiumdns-v3.sh index 107dfe7d..201b6267 100644 --- a/ct/technitiumdns-v3.sh +++ b/ct/technitiumdns-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/ubuntu-v3.sh b/ct/ubuntu-v3.sh index 586f4f82..5f5b38b1 100644 --- a/ct/ubuntu-v3.sh +++ b/ct/ubuntu-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/unifi-v3.sh b/ct/unifi-v3.sh index 40d5a222..158758b1 100644 --- a/ct/unifi-v3.sh +++ b/ct/unifi-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/uptimekuma-v3.sh b/ct/uptimekuma-v3.sh index fc5eb477..d9cb376b 100644 --- a/ct/uptimekuma-v3.sh +++ b/ct/uptimekuma-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/vaultwarden-v3.sh b/ct/vaultwarden-v3.sh index 38a23d01..735160ff 100644 --- a/ct/vaultwarden-v3.sh +++ b/ct/vaultwarden-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/whoogle-v3.sh b/ct/whoogle-v3.sh index c0529fb3..59274f4e 100644 --- a/ct/whoogle-v3.sh +++ b/ct/whoogle-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." APP="Whoogle" var_disk="2" var_cpu="1" @@ -48,6 +49,7 @@ function msg_ok() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/wireguard-v3.sh b/ct/wireguard-v3.sh index b0bf0bac..284f665c 100644 --- a/ct/wireguard-v3.sh +++ b/ct/wireguard-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -31,6 +32,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/zigbee2mqtt-v3.sh b/ct/zigbee2mqtt-v3.sh index 3a48dd9c..46a61c82 100644 --- a/ct/zigbee2mqtt-v3.sh +++ b/ct/zigbee2mqtt-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -32,6 +33,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/ct/zwavejs2mqtt-v3.sh b/ct/zwavejs2mqtt-v3.sh index 99afdd8d..88b9c87c 100644 --- a/ct/zwavejs2mqtt-v3.sh +++ b/ct/zwavejs2mqtt-v3.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +echo -e "Loading..." NEXTID=$(pvesh get /cluster/nextid) INTEGER='^[0-9]+$' YW=`echo "\033[33m"` @@ -32,6 +33,7 @@ function error_exit() { } while true; do + clear read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; diff --git a/vm/haos_vm.sh b/vm/haos_vm.sh index 83652ed4..1153be37 100644 --- a/vm/haos_vm.sh +++ b/vm/haos_vm.sh @@ -1,8 +1,9 @@ #!/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:]') 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='[""]') -STABLE="8.2" +STABLE="8.1" YW=`echo "\033[33m"` BL=`echo "\033[36m"` RD=`echo "\033[01;31m"` @@ -50,6 +51,7 @@ TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null while true; do + clear read -p "This will create a New Home Assistant OS VM. Proceed(y/n)?" yn case $yn in [Yy]* ) break;;