Browse Source

revert revert ssh_check

tteckster 2 years ago
parent
commit
b19b5e1039
92 changed files with 93 additions and 1 deletions
  1. 1 0
      ct/adguard.sh
  2. 1 0
      ct/alpine-adguard.sh
  3. 1 0
      ct/alpine-docker.sh
  4. 1 0
      ct/alpine-grafana.sh
  5. 1 0
      ct/alpine-vaultwarden.sh
  6. 1 0
      ct/alpine-whoogle.sh
  7. 1 0
      ct/alpine-zigbee2mqtt.sh
  8. 1 0
      ct/alpine.sh
  9. 1 0
      ct/audiobookshelf.sh
  10. 1 0
      ct/autobrr.sh
  11. 1 0
      ct/blocky.sh
  12. 1 0
      ct/casaos.sh
  13. 1 0
      ct/changedetection.sh
  14. 1 0
      ct/cronicle.sh
  15. 1 0
      ct/daemonsync.sh
  16. 1 0
      ct/dashy.sh
  17. 1 0
      ct/debian.sh
  18. 1 0
      ct/deconz.sh
  19. 1 0
      ct/deluge.sh
  20. 1 0
      ct/devuan.sh
  21. 1 0
      ct/docker.sh
  22. 1 0
      ct/emby.sh
  23. 1 0
      ct/emqx.sh
  24. 1 0
      ct/esphome.sh
  25. 1 0
      ct/go2rtc.sh
  26. 1 0
      ct/grafana.sh
  27. 1 0
      ct/grocy.sh
  28. 1 0
      ct/heimdalldashboard.sh
  29. 1 0
      ct/homeassistant-core.sh
  30. 1 0
      ct/homeassistant.sh
  31. 1 0
      ct/homebridge.sh
  32. 1 0
      ct/homepage.sh
  33. 1 0
      ct/homer.sh
  34. 1 0
      ct/hyperion.sh
  35. 1 0
      ct/influxdb.sh
  36. 1 0
      ct/iobroker.sh
  37. 1 0
      ct/jackett.sh
  38. 1 0
      ct/jellyfin.sh
  39. 1 0
      ct/k0s.sh
  40. 1 0
      ct/kavita.sh
  41. 1 0
      ct/keycloak.sh
  42. 1 0
      ct/lidarr.sh
  43. 1 0
      ct/magicmirror.sh
  44. 1 0
      ct/mariadb.sh
  45. 1 0
      ct/meshcentral.sh
  46. 1 0
      ct/motioneye.sh
  47. 1 0
      ct/mqtt.sh
  48. 1 0
      ct/n8n.sh
  49. 1 0
      ct/navidrome.sh
  50. 1 0
      ct/nextcloudpi.sh
  51. 1 0
      ct/nginxproxymanager.sh
  52. 1 0
      ct/nocodb.sh
  53. 1 0
      ct/node-red.sh
  54. 1 0
      ct/omada.sh
  55. 1 0
      ct/omv.sh
  56. 1 0
      ct/openhab.sh
  57. 1 0
      ct/paperless-ngx.sh
  58. 1 0
      ct/photoprism.sh
  59. 1 0
      ct/pihole.sh
  60. 1 0
      ct/plex.sh
  61. 1 0
      ct/podman-homeassistant.sh
  62. 1 0
      ct/podman.sh
  63. 1 0
      ct/postgresql.sh
  64. 1 0
      ct/prometheus.sh
  65. 1 0
      ct/prowlarr.sh
  66. 1 0
      ct/qbittorrent.sh
  67. 1 0
      ct/radarr.sh
  68. 1 0
      ct/readarr.sh
  69. 1 0
      ct/rockylinux.sh
  70. 1 0
      ct/rstptoweb.sh
  71. 1 0
      ct/sabnzbd.sh
  72. 1 0
      ct/scrypted.sh
  73. 1 0
      ct/shinobi.sh
  74. 1 0
      ct/sonarr.sh
  75. 1 0
      ct/syncthing.sh
  76. 1 0
      ct/tdarr.sh
  77. 1 0
      ct/technitiumdns.sh
  78. 1 0
      ct/transmission.sh
  79. 1 0
      ct/trilium.sh
  80. 1 0
      ct/ubuntu.sh
  81. 1 0
      ct/umbrel.sh
  82. 1 0
      ct/unifi.sh
  83. 1 0
      ct/uptimekuma.sh
  84. 1 0
      ct/vaultwarden.sh
  85. 1 0
      ct/whisparr.sh
  86. 1 0
      ct/whoogle.sh
  87. 1 0
      ct/wikijs.sh
  88. 1 0
      ct/wireguard.sh
  89. 1 0
      ct/yunohost.sh
  90. 1 0
      ct/zigbee2mqtt.sh
  91. 1 0
      ct/zwave-js-ui.sh
  92. 2 1
      vm/haos-vm.sh

+ 1 - 0
ct/adguard.sh

@@ -78,6 +78,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/alpine-adguard.sh

@@ -81,6 +81,7 @@ function update_script() {
   done
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/alpine-docker.sh

@@ -75,6 +75,7 @@ function update_script() {
   done
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/alpine-grafana.sh

@@ -88,6 +88,7 @@ function update_script() {
   done
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/alpine-vaultwarden.sh

@@ -81,6 +81,7 @@ function update_script() {
   done
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/alpine-whoogle.sh

@@ -79,6 +79,7 @@ function update_script() {
   done
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/alpine-zigbee2mqtt.sh

@@ -75,6 +75,7 @@ function update_script() {
   done
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/alpine.sh

@@ -63,6 +63,7 @@ exit;
 fi
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/audiobookshelf.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/autobrr.sh

@@ -71,6 +71,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/blocky.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/casaos.sh

@@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/changedetection.sh

@@ -60,6 +60,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/cronicle.sh

@@ -100,6 +100,7 @@ exit
 fi
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/daemonsync.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/dashy.sh

@@ -86,6 +86,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/debian.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/deconz.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/deluge.sh

@@ -61,6 +61,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/devuan.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/docker.sh

@@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/emby.sh

@@ -71,6 +71,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/emqx.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/esphome.sh

@@ -68,6 +68,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/go2rtc.sh

@@ -61,6 +61,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/grafana.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/grocy.sh

@@ -60,6 +60,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/heimdalldashboard.sh

@@ -140,6 +140,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/homeassistant-core.sh

@@ -207,6 +207,7 @@ EOF
   fi
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/homeassistant.sh

@@ -128,6 +128,7 @@ WantedBy=default.target" >$service_path
   fi
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/homebridge.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/homepage.sh

@@ -67,6 +67,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/homer.sh

@@ -84,6 +84,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/hyperion.sh

@@ -62,6 +62,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/influxdb.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/iobroker.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/jackett.sh

@@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/jellyfin.sh

@@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/k0s.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/kavita.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/keycloak.sh

@@ -62,6 +62,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/lidarr.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/magicmirror.sh

@@ -63,6 +63,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/mariadb.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/meshcentral.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/motioneye.sh

@@ -60,6 +60,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/mqtt.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/n8n.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/navidrome.sh

@@ -71,6 +71,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/nextcloudpi.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/nginxproxymanager.sh

@@ -171,6 +171,7 @@ EOF
   exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/nocodb.sh

@@ -63,6 +63,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/node-red.sh

@@ -96,6 +96,7 @@ exit
 fi
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/omada.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/omv.sh

@@ -62,6 +62,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/openhab.sh

@@ -62,6 +62,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/paperless-ngx.sh

@@ -132,6 +132,7 @@ EOF
   fi
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/photoprism.sh

@@ -86,6 +86,7 @@ function update_script() {
   exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/pihole.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/plex.sh

@@ -71,6 +71,7 @@ exit
 fi
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/podman-homeassistant.sh

@@ -111,6 +111,7 @@ exit
 fi
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/podman.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/postgresql.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/prometheus.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/prowlarr.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/qbittorrent.sh

@@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/radarr.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/readarr.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/rockylinux.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/rstptoweb.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/sabnzbd.sh

@@ -66,6 +66,7 @@ msg_ok "Updated $APP"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/scrypted.sh

@@ -62,6 +62,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/shinobi.sh

@@ -64,6 +64,7 @@ msg_ok "Updated Shinobi LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/sonarr.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/syncthing.sh

@@ -62,6 +62,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/tdarr.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/technitiumdns.sh

@@ -70,6 +70,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/transmission.sh

@@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/trilium.sh

@@ -80,6 +80,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/ubuntu.sh

@@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/umbrel.sh

@@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/unifi.sh

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/uptimekuma.sh

@@ -78,6 +78,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/vaultwarden.sh

@@ -131,6 +131,7 @@ function update_script() {
   fi
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/whisparr.sh

@@ -61,6 +61,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/whoogle.sh

@@ -60,6 +60,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/wikijs.sh

@@ -83,6 +83,7 @@ msg_ok "Update Successfull"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/wireguard.sh

@@ -115,6 +115,7 @@ exit
 fi
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/yunohost.sh

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/zigbee2mqtt.sh

@@ -126,6 +126,7 @@ function update_script() {
   exit
 }
 
+ssh_check
 start
 build_container
 description

+ 1 - 0
ct/zwave-js-ui.sh

@@ -78,6 +78,7 @@ function update_script() {
   exit
 }
 
+ssh_check
 start
 build_container
 description

+ 2 - 1
vm/haos-vm.sh

@@ -97,7 +97,7 @@ function ARCH_CHECK() {
 }
 function SSH_CHECK() {
   if command -v pveversion >/dev/null 2>&1; then
-    if [ -n "$SSH_CLIENT" ]; then
+    if [ -n "${SSH_CLIENT:+x}" ]; then
       if whiptail --defaultno --title "SSH DETECTED" --yesno "It's suggested to use the Proxmox shell instead of SSH, since SSH can create issues while gathering variables. Would you like to proceed with using SSH?" 10 62; then
         echo "you've been warned"
       else
@@ -269,6 +269,7 @@ function START_SCRIPT() {
 }
 ARCH_CHECK
 PVE_CHECK
+SSH_CHECK
 START_SCRIPT
 msg_info "Validating Storage"
 while read -r line; do