瀏覽代碼

code refactoring

tteckster 2 年之前
父節點
當前提交
baa9bb9e2e
共有 82 個文件被更改,包括 117 次插入88 次删除
  1. 1 1
      ct/adguard.sh
  2. 1 1
      ct/audiobookshelf.sh
  3. 1 1
      ct/autobrr.sh
  4. 1 1
      ct/blocky.sh
  5. 1 1
      ct/changedetection.sh
  6. 1 1
      ct/cronicle.sh
  7. 1 1
      ct/daemonsync.sh
  8. 1 1
      ct/dashy.sh
  9. 1 1
      ct/debian.sh
  10. 1 1
      ct/deconz.sh
  11. 1 1
      ct/deluge.sh
  12. 1 1
      ct/devuan.sh
  13. 1 1
      ct/emby.sh
  14. 1 1
      ct/emqx.sh
  15. 1 1
      ct/esphome.sh
  16. 1 1
      ct/go2rtc.sh
  17. 1 1
      ct/grafana.sh
  18. 1 1
      ct/grocy.sh
  19. 1 1
      ct/heimdalldashboard.sh
  20. 1 1
      ct/homeassistant-core.sh
  21. 1 1
      ct/homeassistant.sh
  22. 1 1
      ct/homebridge.sh
  23. 1 1
      ct/homepage.sh
  24. 1 1
      ct/homer.sh
  25. 1 1
      ct/hyperion.sh
  26. 1 1
      ct/influxdb.sh
  27. 1 1
      ct/iobroker.sh
  28. 1 1
      ct/jackett.sh
  29. 1 1
      ct/jellyfin.sh
  30. 1 1
      ct/k0s.sh
  31. 1 1
      ct/kavita.sh
  32. 1 1
      ct/keycloak.sh
  33. 1 1
      ct/lidarr.sh
  34. 1 1
      ct/magicmirror.sh
  35. 1 1
      ct/mariadb.sh
  36. 1 1
      ct/meshcentral.sh
  37. 1 1
      ct/motioneye.sh
  38. 1 1
      ct/mqtt.sh
  39. 1 1
      ct/n8n.sh
  40. 1 1
      ct/navidrome.sh
  41. 1 1
      ct/nextcloudpi.sh
  42. 1 1
      ct/nginxproxymanager.sh
  43. 1 1
      ct/nocodb.sh
  44. 1 1
      ct/node-red.sh
  45. 1 1
      ct/omada.sh
  46. 1 1
      ct/omv.sh
  47. 1 1
      ct/openhab.sh
  48. 1 1
      ct/paperless-ngx.sh
  49. 1 1
      ct/photoprism.sh
  50. 1 1
      ct/pihole.sh
  51. 1 1
      ct/plex.sh
  52. 1 1
      ct/podman-homeassistant.sh
  53. 1 1
      ct/podman.sh
  54. 1 1
      ct/postgresql.sh
  55. 1 1
      ct/prometheus.sh
  56. 1 1
      ct/prowlarr.sh
  57. 1 1
      ct/qbittorrent.sh
  58. 1 1
      ct/radarr.sh
  59. 1 1
      ct/readarr.sh
  60. 1 1
      ct/rockylinux.sh
  61. 1 1
      ct/rstptoweb.sh
  62. 1 1
      ct/sabnzbd.sh
  63. 1 1
      ct/scrypted.sh
  64. 1 1
      ct/shinobi.sh
  65. 1 1
      ct/sonarr.sh
  66. 1 1
      ct/syncthing.sh
  67. 1 1
      ct/tdarr.sh
  68. 1 1
      ct/technitiumdns.sh
  69. 1 1
      ct/transmission.sh
  70. 1 1
      ct/trilium.sh
  71. 1 1
      ct/ubuntu.sh
  72. 1 1
      ct/unifi.sh
  73. 1 1
      ct/uptimekuma.sh
  74. 1 1
      ct/vaultwarden.sh
  75. 1 1
      ct/whisparr.sh
  76. 1 1
      ct/whoogle.sh
  77. 1 1
      ct/wikijs.sh
  78. 1 1
      ct/wireguard.sh
  79. 1 1
      ct/yunohost.sh
  80. 1 1
      ct/zigbee2mqtt.sh
  81. 1 1
      ct/zwave-js-ui.sh
  82. 36 7
      misc/build.func

+ 1 - 1
ct/adguard.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/audiobookshelf.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/autobrr.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/blocky.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/changedetection.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/cronicle.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/daemonsync.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/dashy.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/debian.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/deconz.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/ubuntu.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/deluge.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/devuan.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/emby.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/ubuntu.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/emqx.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/esphome.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/go2rtc.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/grafana.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/grocy.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/heimdalldashboard.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/homeassistant-core.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/homeassistant.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/homebridge.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/homepage.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/homer.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/hyperion.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/influxdb.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/iobroker.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/jackett.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/jellyfin.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/ubuntu.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/k0s.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/kavita.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/keycloak.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/lidarr.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/magicmirror.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/mariadb.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/meshcentral.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/motioneye.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/mqtt.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/n8n.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/navidrome.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/nextcloudpi.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/nginxproxymanager.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/nocodb.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/node-red.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/omada.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/ubuntu.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/omv.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/openhab.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/paperless-ngx.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/photoprism.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/pihole.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/plex.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/ubuntu.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/podman-homeassistant.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/podman.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/postgresql.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/prometheus.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/prowlarr.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/qbittorrent.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/radarr.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/readarr.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/rockylinux.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/rstptoweb.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/sabnzbd.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/scrypted.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/shinobi.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/ubuntu.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/sonarr.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/syncthing.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/tdarr.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/technitiumdns.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/transmission.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/trilium.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/ubuntu.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/ubuntu.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/unifi.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/uptimekuma.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/vaultwarden.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/whisparr.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/whoogle.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/wikijs.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/wireguard.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/yunohost.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 1 - 1
ct/zigbee2mqtt.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

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

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/debian.func)
+source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
 # Copyright (c) 2021-2023 tteck
 # Copyright (c) 2021-2023 tteck
 # Author: tteck (tteckster)
 # Author: tteck (tteckster)
 # License: MIT
 # License: MIT

+ 36 - 7
misc/debian.func → misc/build.func

@@ -67,6 +67,9 @@ arch_check() {
 }
 }
 
 
 echo_default() {
 echo_default() {
+  if [ "$var_os" == "ubuntu" ]; then
+  echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
+  fi
   echo -e "${DGN}Using Container Type: ${BGN}$CT_TYPE${CL}"
   echo -e "${DGN}Using Container Type: ${BGN}$CT_TYPE${CL}"
   echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
   echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
   echo -e "${DGN}Using Container ID: ${BGN}$NEXTID${CL}"
   echo -e "${DGN}Using Container ID: ${BGN}$NEXTID${CL}"
@@ -95,6 +98,19 @@ exit-script() {
 }
 }
 
 
 advanced_settings() {
 advanced_settings() {
+  if [ "$var_os" == "ubuntu" ]; then
+    if var_version=$(whiptail --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 4 \
+      "18.04" "Bionic" OFF \
+      "20.04" "Focal" ON \
+      "22.04" "Jammy" OFF \
+      "22.10" "Kinetic" OFF \
+      3>&1 1>&2 2>&3); then
+      echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"
+  else
+    exit-script
+    fi
+  fi
+
   if CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 10 58 2 \
   if CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 10 58 2 \
     "1" "Unprivileged" ON \
     "1" "Unprivileged" ON \
     "0" "Privileged" OFF \
     "0" "Privileged" OFF \
@@ -346,7 +362,7 @@ build_container() {
   fi
   fi
   TEMP_DIR=$(mktemp -d)
   TEMP_DIR=$(mktemp -d)
   pushd $TEMP_DIR >/dev/null
   pushd $TEMP_DIR >/dev/null
-  export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/install.func)"
+  export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/dev/misc/install.func)"
   export tz="$timezone"
   export tz="$timezone"
   export DISABLEIPV6="$DISABLEIP6"
   export DISABLEIPV6="$DISABLEIP6"
   export APPLICATION="$APP"
   export APPLICATION="$APP"
@@ -368,11 +384,12 @@ build_container() {
     -unprivileged $CT_TYPE
     -unprivileged $CT_TYPE
     $PW
     $PW
   "
   "
-  bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/create_lxc.sh)" || exit
+  bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/dev/ct/create_lxc.sh)" || exit
   
   
   LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
   LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
   if [ "$CT_TYPE" == "0" ]; then
   if [ "$CT_TYPE" == "0" ]; then
-    cat <<EOF >>$LXC_CONFIG
+    if [[ "$APP" != "Emby" && "$APP" != "Jellyfin" && "$APP" != "Plex" ]]; then
+      cat <<EOF >>$LXC_CONFIG
 lxc.cgroup2.devices.allow: a
 lxc.cgroup2.devices.allow: a
 lxc.cap.drop:
 lxc.cap.drop:
 lxc.cgroup2.devices.allow: c 188:* rwm
 lxc.cgroup2.devices.allow: c 188:* rwm
@@ -383,16 +400,28 @@ lxc.mount.entry: /dev/ttyUSB1       dev/ttyUSB1       none bind,optional,create=
 lxc.mount.entry: /dev/ttyACM0       dev/ttyACM0       none bind,optional,create=file
 lxc.mount.entry: /dev/ttyACM0       dev/ttyACM0       none bind,optional,create=file
 lxc.mount.entry: /dev/ttyACM1       dev/ttyACM1       none bind,optional,create=file
 lxc.mount.entry: /dev/ttyACM1       dev/ttyACM1       none bind,optional,create=file
 EOF
 EOF
-  else
-  cat <<EOF >>$LXC_CONFIG
+    fi
+  fi
+
+  if [ "$CT_TYPE" == "0" ]; then
+    if [[ "$APP" == "Emby" || "$APP" == "Jellyfin" || "$APP" == "Plex" ]]; then
+      cat <<EOF >>$LXC_CONFIG
 lxc.cgroup2.devices.allow: a
 lxc.cgroup2.devices.allow: a
 lxc.cap.drop:
 lxc.cap.drop:
+lxc.cgroup2.devices.allow: c 226:0 rwm
+lxc.cgroup2.devices.allow: c 226:128 rwm
+lxc.cgroup2.devices.allow: c 29:0 rwm
+lxc.mount.entry: /dev/fb0 dev/fb0 none bind,optional,create=file
+lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
+lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
 EOF
 EOF
+    fi
   fi
   fi
+
   msg_info "Starting LXC Container"
   msg_info "Starting LXC Container"
   pct start "$CTID"
   pct start "$CTID"
   msg_ok "Started LXC Container"
   msg_ok "Started LXC Container"
-  lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/install/$var_install.sh)" || exit
+  lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/dev/install/$var_install.sh)" || exit
 
 
 }
 }
 
 
@@ -401,4 +430,4 @@ description() {
   pct set "$CTID" -description "# ${APP} LXC
   pct set "$CTID" -description "# ${APP} LXC
   ### https://tteck.github.io/Proxmox/
   ### https://tteck.github.io/Proxmox/
   <a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
   <a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
-}
+}