From 6a83a3eaac874fcc2d54b5ba7f3cca908481b401 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 12 Jan 2024 15:00:42 -0500 Subject: [PATCH] New feature - The option to utilize Apt-Cacher-NG (Advanced settings) when creating LXCs. The added functionality is expected to reduce bandwidth usage and provide faster operating system updates. - Requires the Apt-Cacher-NG LXC --- ct/adguard.sh | 4 ++-- ct/agentdvr.sh | 4 ++-- ct/alpine-docker.sh | 4 ++-- ct/alpine-grafana.sh | 4 ++-- ct/alpine-nextcloud.sh | 4 ++-- ct/alpine-vaultwarden.sh | 4 ++-- ct/alpine-zigbee2mqtt.sh | 4 ++-- ct/alpine.sh | 4 ++-- ct/apt-cacher-ng.sh | 4 ++-- ct/audiobookshelf.sh | 4 ++-- ct/autobrr.sh | 4 ++-- ct/bazarr.sh | 4 ++-- ct/blocky.sh | 4 ++-- ct/casaos.sh | 4 ++-- ct/changedetection.sh | 4 ++-- ct/channels.sh | 4 ++-- ct/cloudflared.sh | 4 ++-- ct/commafeed.sh | 4 ++-- ct/cronicle.sh | 4 ++-- ct/daemonsync.sh | 4 ++-- ct/dashy.sh | 4 ++-- ct/debian.sh | 4 ++-- ct/deconz.sh | 4 ++-- ct/deluge.sh | 4 ++-- ct/docker.sh | 4 ++-- ct/dockge.sh | 4 ++-- ct/emby.sh | 4 ++-- ct/emqx.sh | 4 ++-- ct/esphome.sh | 4 ++-- ct/fhem.sh | 4 ++-- ct/go2rtc.sh | 4 ++-- ct/gotify.sh | 4 ++-- ct/grafana.sh | 4 ++-- ct/grocy.sh | 4 ++-- ct/heimdalldashboard.sh | 4 ++-- ct/homarr.sh | 4 ++-- ct/homeassistant-core.sh | 4 ++-- ct/homeassistant.sh | 4 ++-- ct/homebridge.sh | 4 ++-- ct/homepage.sh | 4 ++-- ct/homer.sh | 4 ++-- ct/hyperion.sh | 4 ++-- ct/influxdb.sh | 4 ++-- ct/iobroker.sh | 4 ++-- ct/jackett.sh | 4 ++-- ct/jellyfin.sh | 4 ++-- ct/jellyseerr.sh | 4 ++-- ct/k0s.sh | 4 ++-- ct/kavita.sh | 4 ++-- ct/keycloak.sh | 4 ++-- ct/lidarr.sh | 4 ++-- ct/linkwarden.sh | 4 ++-- ct/magicmirror.sh | 4 ++-- ct/mariadb.sh | 4 ++-- ct/meshcentral.sh | 4 ++-- ct/motioneye.sh | 4 ++-- ct/mqtt.sh | 4 ++-- ct/n8n.sh | 4 ++-- ct/navidrome.sh | 4 ++-- ct/nextcloudpi.sh | 4 ++-- ct/nginxproxymanager.sh | 4 ++-- ct/nocodb.sh | 4 ++-- ct/node-red.sh | 4 ++-- ct/octoprint.sh | 4 ++-- ct/omada.sh | 4 ++-- ct/ombi.sh | 4 ++-- ct/omv.sh | 4 ++-- ct/openhab.sh | 4 ++-- ct/openobserve.sh | 4 ++-- ct/overseerr.sh | 4 ++-- ct/owncast.sh | 4 ++-- ct/paperless-ngx.sh | 4 ++-- ct/photoprism.sh | 4 ++-- ct/pialert.sh | 4 ++-- ct/pihole.sh | 4 ++-- ct/pingvin.sh | 4 ++-- ct/plex.sh | 4 ++-- ct/podman-homeassistant.sh | 4 ++-- ct/podman.sh | 4 ++-- ct/postgresql.sh | 4 ++-- ct/prometheus.sh | 4 ++-- ct/prowlarr.sh | 4 ++-- ct/qbittorrent.sh | 4 ++-- ct/radarr.sh | 4 ++-- ct/rdtclient.sh | 4 ++-- ct/readarr.sh | 4 ++-- ct/rockylinux.sh | 4 ++-- ct/rtsptoweb.sh | 4 ++-- ct/runtipi.sh | 4 ++-- ct/sabnzbd.sh | 4 ++-- ct/scrypted.sh | 4 ++-- ct/sftpgo.sh | 4 ++-- ct/shinobi.sh | 4 ++-- ct/sonarr.sh | 4 ++-- ct/stirling-pdf.sh | 4 ++-- ct/syncthing.sh | 4 ++-- ct/tasmoadmin.sh | 4 ++-- ct/tautulli.sh | 4 ++-- ct/tdarr.sh | 4 ++-- ct/technitiumdns.sh | 4 ++-- ct/transmission.sh | 4 ++-- ct/trilium.sh | 4 ++-- ct/ubuntu.sh | 4 ++-- ct/umbrel.sh | 4 ++-- ct/unifi.sh | 4 ++-- ct/unmanic.sh | 4 ++-- ct/uptimekuma.sh | 4 ++-- ct/vaultwarden.sh | 4 ++-- ct/whisparr.sh | 4 ++-- ct/whoogle.sh | 4 ++-- ct/wikijs.sh | 4 ++-- ct/wireguard.sh | 4 ++-- ct/yunohost.sh | 4 ++-- ct/zigbee2mqtt.sh | 4 ++-- ct/zoraxy.sh | 4 ++-- ct/zwave-js-ui.sh | 4 ++-- misc/build.func | 14 ++++++++++++-- misc/install.func | 5 ++++- 118 files changed, 248 insertions(+), 235 deletions(-) diff --git a/ct/adguard.sh b/ct/adguard.sh index da5d39cee..e9e667c95 100644 --- a/ct/adguard.sh +++ b/ct/adguard.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/agentdvr.sh b/ct/agentdvr.sh index 2d70e13cb..d77921bf7 100644 --- a/ct/agentdvr.sh +++ b/ct/agentdvr.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/alpine-docker.sh b/ct/alpine-docker.sh index d401fc284..49ee75188 100644 --- a/ct/alpine-docker.sh +++ b/ct/alpine-docker.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/alpine-grafana.sh b/ct/alpine-grafana.sh index 515606610..4382f1313 100644 --- a/ct/alpine-grafana.sh +++ b/ct/alpine-grafana.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/alpine-nextcloud.sh b/ct/alpine-nextcloud.sh index bc9814e50..5e9338ac5 100644 --- a/ct/alpine-nextcloud.sh +++ b/ct/alpine-nextcloud.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/alpine-vaultwarden.sh b/ct/alpine-vaultwarden.sh index c270574fa..9ce6763ad 100644 --- a/ct/alpine-vaultwarden.sh +++ b/ct/alpine-vaultwarden.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/alpine-zigbee2mqtt.sh b/ct/alpine-zigbee2mqtt.sh index 32c435a88..2767d9243 100644 --- a/ct/alpine-zigbee2mqtt.sh +++ b/ct/alpine-zigbee2mqtt.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/alpine.sh b/ct/alpine.sh index 6ead34bc8..85f3ad554 100644 --- a/ct/alpine.sh +++ b/ct/alpine.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/apt-cacher-ng.sh b/ct/apt-cacher-ng.sh index 15d1f140f..8d8235a37 100644 --- a/ct/apt-cacher-ng.sh +++ b/ct/apt-cacher-ng.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/audiobookshelf.sh b/ct/audiobookshelf.sh index a1a3c0b93..4d360634c 100644 --- a/ct/audiobookshelf.sh +++ b/ct/audiobookshelf.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/autobrr.sh b/ct/autobrr.sh index d0a731648..8cfc2f3ee 100644 --- a/ct/autobrr.sh +++ b/ct/autobrr.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/bazarr.sh b/ct/bazarr.sh index 5371beee1..d94543e5e 100755 --- a/ct/bazarr.sh +++ b/ct/bazarr.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/blocky.sh b/ct/blocky.sh index 64311a9cd..a9c74c4d2 100644 --- a/ct/blocky.sh +++ b/ct/blocky.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/casaos.sh b/ct/casaos.sh index fcb30fddc..85cc05106 100644 --- a/ct/casaos.sh +++ b/ct/casaos.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/changedetection.sh b/ct/changedetection.sh index 84448134f..5fe9759ac 100644 --- a/ct/changedetection.sh +++ b/ct/changedetection.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/channels.sh b/ct/channels.sh index 6368677f0..7e8b01403 100644 --- a/ct/channels.sh +++ b/ct/channels.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/cloudflared.sh b/ct/cloudflared.sh index 832dc1b87..c4f9631c5 100644 --- a/ct/cloudflared.sh +++ b/ct/cloudflared.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/commafeed.sh b/ct/commafeed.sh index 4449c2856..0084964a6 100644 --- a/ct/commafeed.sh +++ b/ct/commafeed.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/cronicle.sh b/ct/cronicle.sh index bbc296d17..946101f37 100644 --- a/ct/cronicle.sh +++ b/ct/cronicle.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/daemonsync.sh b/ct/daemonsync.sh index 859d96d47..01ffa4a7b 100644 --- a/ct/daemonsync.sh +++ b/ct/daemonsync.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/dashy.sh b/ct/dashy.sh index 309fe40c4..759b8805d 100644 --- a/ct/dashy.sh +++ b/ct/dashy.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/debian.sh b/ct/debian.sh index 4db9904f5..adfd810e9 100644 --- a/ct/debian.sh +++ b/ct/debian.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/deconz.sh b/ct/deconz.sh index b3a53756f..bf42af0ce 100644 --- a/ct/deconz.sh +++ b/ct/deconz.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/deluge.sh b/ct/deluge.sh index 385f93c7f..897a3bf8f 100644 --- a/ct/deluge.sh +++ b/ct/deluge.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/docker.sh b/ct/docker.sh index 7997d0266..ce263f9b8 100644 --- a/ct/docker.sh +++ b/ct/docker.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/dockge.sh b/ct/dockge.sh index e24c74e3d..b1d943a41 100644 --- a/ct/dockge.sh +++ b/ct/dockge.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/emby.sh b/ct/emby.sh index 563ecf57e..a063e0aff 100644 --- a/ct/emby.sh +++ b/ct/emby.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/emqx.sh b/ct/emqx.sh index f469e28e0..6ec3cab70 100644 --- a/ct/emqx.sh +++ b/ct/emqx.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/esphome.sh b/ct/esphome.sh index 0aee7d7bc..7a2e0e877 100644 --- a/ct/esphome.sh +++ b/ct/esphome.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/fhem.sh b/ct/fhem.sh index c7a12377b..a98ce9ae4 100644 --- a/ct/fhem.sh +++ b/ct/fhem.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/go2rtc.sh b/ct/go2rtc.sh index 38e4f55e2..380ed801c 100644 --- a/ct/go2rtc.sh +++ b/ct/go2rtc.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/gotify.sh b/ct/gotify.sh index 1b5b19d95..15f911df0 100644 --- a/ct/gotify.sh +++ b/ct/gotify.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/grafana.sh b/ct/grafana.sh index 047807f6f..085cb4ee2 100644 --- a/ct/grafana.sh +++ b/ct/grafana.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/grocy.sh b/ct/grocy.sh index 18bca6082..b9c111703 100644 --- a/ct/grocy.sh +++ b/ct/grocy.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/heimdalldashboard.sh b/ct/heimdalldashboard.sh index 70ed090bc..b2d0645ae 100644 --- a/ct/heimdalldashboard.sh +++ b/ct/heimdalldashboard.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/homarr.sh b/ct/homarr.sh index f7a516e07..a81bad4f0 100644 --- a/ct/homarr.sh +++ b/ct/homarr.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/homeassistant-core.sh b/ct/homeassistant-core.sh index 086c84682..375024e61 100644 --- a/ct/homeassistant-core.sh +++ b/ct/homeassistant-core.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/homeassistant.sh b/ct/homeassistant.sh index e6e28ebf7..3f2c63edb 100644 --- a/ct/homeassistant.sh +++ b/ct/homeassistant.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/homebridge.sh b/ct/homebridge.sh index d32e5e51c..d252b52bc 100644 --- a/ct/homebridge.sh +++ b/ct/homebridge.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/homepage.sh b/ct/homepage.sh index bbeef90c8..5107f65bd 100644 --- a/ct/homepage.sh +++ b/ct/homepage.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/homer.sh b/ct/homer.sh index 13a1535ac..f6b04d4d3 100644 --- a/ct/homer.sh +++ b/ct/homer.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/hyperion.sh b/ct/hyperion.sh index 402a06155..9bb9a141b 100644 --- a/ct/hyperion.sh +++ b/ct/hyperion.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/influxdb.sh b/ct/influxdb.sh index e732a60bd..2d995f6b5 100644 --- a/ct/influxdb.sh +++ b/ct/influxdb.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/iobroker.sh b/ct/iobroker.sh index eb1cccc64..0bbd1d0ff 100644 --- a/ct/iobroker.sh +++ b/ct/iobroker.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/jackett.sh b/ct/jackett.sh index 898cb4e31..096eef899 100644 --- a/ct/jackett.sh +++ b/ct/jackett.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/jellyfin.sh b/ct/jellyfin.sh index 3f7c9883c..6f5dfc8bd 100644 --- a/ct/jellyfin.sh +++ b/ct/jellyfin.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/jellyseerr.sh b/ct/jellyseerr.sh index e3af3b809..14768ed1f 100644 --- a/ct/jellyseerr.sh +++ b/ct/jellyseerr.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/k0s.sh b/ct/k0s.sh index 5c6331bb7..3b62bfc69 100644 --- a/ct/k0s.sh +++ b/ct/k0s.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/kavita.sh b/ct/kavita.sh index e2238bf1a..206778fb4 100644 --- a/ct/kavita.sh +++ b/ct/kavita.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/keycloak.sh b/ct/keycloak.sh index 73810dc8a..5e461722f 100644 --- a/ct/keycloak.sh +++ b/ct/keycloak.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/lidarr.sh b/ct/lidarr.sh index 28b1bd3b9..9628b885c 100644 --- a/ct/lidarr.sh +++ b/ct/lidarr.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/linkwarden.sh b/ct/linkwarden.sh index a62a2781d..e2bf2fa58 100644 --- a/ct/linkwarden.sh +++ b/ct/linkwarden.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/magicmirror.sh b/ct/magicmirror.sh index bbd5c3c3a..bb5e0b7b6 100644 --- a/ct/magicmirror.sh +++ b/ct/magicmirror.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/mariadb.sh b/ct/mariadb.sh index 70f6ab09a..2b3eef005 100644 --- a/ct/mariadb.sh +++ b/ct/mariadb.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/meshcentral.sh b/ct/meshcentral.sh index 03bc929f6..1040a7007 100644 --- a/ct/meshcentral.sh +++ b/ct/meshcentral.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/motioneye.sh b/ct/motioneye.sh index 918a3b6ce..d5a2579f5 100644 --- a/ct/motioneye.sh +++ b/ct/motioneye.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/mqtt.sh b/ct/mqtt.sh index 80d8408d9..b79777df0 100644 --- a/ct/mqtt.sh +++ b/ct/mqtt.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/n8n.sh b/ct/n8n.sh index 04de7c017..5c5feeae0 100644 --- a/ct/n8n.sh +++ b/ct/n8n.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/navidrome.sh b/ct/navidrome.sh index c009f9c36..b9af1d6f0 100644 --- a/ct/navidrome.sh +++ b/ct/navidrome.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/nextcloudpi.sh b/ct/nextcloudpi.sh index bcbef6dc0..e4312b20d 100644 --- a/ct/nextcloudpi.sh +++ b/ct/nextcloudpi.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/nginxproxymanager.sh b/ct/nginxproxymanager.sh index bd6ea26df..3456304e6 100644 --- a/ct/nginxproxymanager.sh +++ b/ct/nginxproxymanager.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/nocodb.sh b/ct/nocodb.sh index 538641ce6..4f8ff0b77 100644 --- a/ct/nocodb.sh +++ b/ct/nocodb.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/node-red.sh b/ct/node-red.sh index cdd37d15c..1f68dc09c 100644 --- a/ct/node-red.sh +++ b/ct/node-red.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/octoprint.sh b/ct/octoprint.sh index ab0918346..75c2ccd91 100644 --- a/ct/octoprint.sh +++ b/ct/octoprint.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/omada.sh b/ct/omada.sh index 33273e1c6..282d65083 100644 --- a/ct/omada.sh +++ b/ct/omada.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/ombi.sh b/ct/ombi.sh index b3957aaa3..658182dcf 100644 --- a/ct/ombi.sh +++ b/ct/ombi.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/omv.sh b/ct/omv.sh index d9510fdd3..318a16997 100644 --- a/ct/omv.sh +++ b/ct/omv.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/openhab.sh b/ct/openhab.sh index 60e9d7a76..9546085af 100644 --- a/ct/openhab.sh +++ b/ct/openhab.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/openobserve.sh b/ct/openobserve.sh index 26e36a9c7..cea4c29a8 100644 --- a/ct/openobserve.sh +++ b/ct/openobserve.sh @@ -41,8 +41,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/overseerr.sh b/ct/overseerr.sh index 4f8b271c6..a4a76bfc8 100644 --- a/ct/overseerr.sh +++ b/ct/overseerr.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/owncast.sh b/ct/owncast.sh index 06832850d..c06ccfbb9 100644 --- a/ct/owncast.sh +++ b/ct/owncast.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/paperless-ngx.sh b/ct/paperless-ngx.sh index f4773d704..4d05d1d2d 100644 --- a/ct/paperless-ngx.sh +++ b/ct/paperless-ngx.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/photoprism.sh b/ct/photoprism.sh index 5ff79708a..26e0c729c 100644 --- a/ct/photoprism.sh +++ b/ct/photoprism.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/pialert.sh b/ct/pialert.sh index a06f2f6ad..7604d4443 100644 --- a/ct/pialert.sh +++ b/ct/pialert.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/pihole.sh b/ct/pihole.sh index ad17f550a..57c5e9c0a 100644 --- a/ct/pihole.sh +++ b/ct/pihole.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/pingvin.sh b/ct/pingvin.sh index 8d36f98ad..ff582d2f1 100644 --- a/ct/pingvin.sh +++ b/ct/pingvin.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/plex.sh b/ct/plex.sh index 9ab0b8b31..998fe17c0 100644 --- a/ct/plex.sh +++ b/ct/plex.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/podman-homeassistant.sh b/ct/podman-homeassistant.sh index 667e581f1..1f02fe7f9 100644 --- a/ct/podman-homeassistant.sh +++ b/ct/podman-homeassistant.sh @@ -43,8 +43,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/podman.sh b/ct/podman.sh index b8e8e1a48..e1e65b56d 100644 --- a/ct/podman.sh +++ b/ct/podman.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/postgresql.sh b/ct/postgresql.sh index 5ff19c817..8ca8f1724 100644 --- a/ct/postgresql.sh +++ b/ct/postgresql.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/prometheus.sh b/ct/prometheus.sh index 6bf41bd1f..ae5190781 100644 --- a/ct/prometheus.sh +++ b/ct/prometheus.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/prowlarr.sh b/ct/prowlarr.sh index 2ad20b7cb..a2a54ad13 100644 --- a/ct/prowlarr.sh +++ b/ct/prowlarr.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/qbittorrent.sh b/ct/qbittorrent.sh index da21d11fb..0a8b1db84 100644 --- a/ct/qbittorrent.sh +++ b/ct/qbittorrent.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/radarr.sh b/ct/radarr.sh index d481245f4..69a75d628 100644 --- a/ct/radarr.sh +++ b/ct/radarr.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/rdtclient.sh b/ct/rdtclient.sh index 78e191126..7168998e2 100755 --- a/ct/rdtclient.sh +++ b/ct/rdtclient.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/readarr.sh b/ct/readarr.sh index 7b9959909..2e4494cf6 100644 --- a/ct/readarr.sh +++ b/ct/readarr.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/rockylinux.sh b/ct/rockylinux.sh index c9cb151a9..8285e2271 100644 --- a/ct/rockylinux.sh +++ b/ct/rockylinux.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/rtsptoweb.sh b/ct/rtsptoweb.sh index 20d9b7f73..56484a605 100644 --- a/ct/rtsptoweb.sh +++ b/ct/rtsptoweb.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/runtipi.sh b/ct/runtipi.sh index 56b513e4a..279230f3f 100644 --- a/ct/runtipi.sh +++ b/ct/runtipi.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/sabnzbd.sh b/ct/sabnzbd.sh index b761526d1..c6d0aa263 100644 --- a/ct/sabnzbd.sh +++ b/ct/sabnzbd.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/scrypted.sh b/ct/scrypted.sh index 15488152d..306ab6202 100644 --- a/ct/scrypted.sh +++ b/ct/scrypted.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/sftpgo.sh b/ct/sftpgo.sh index d3c2d7b33..2354fe7df 100644 --- a/ct/sftpgo.sh +++ b/ct/sftpgo.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/shinobi.sh b/ct/shinobi.sh index 3f1cdb6e3..410f94331 100644 --- a/ct/shinobi.sh +++ b/ct/shinobi.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/sonarr.sh b/ct/sonarr.sh index 36a6297ae..fe2c59390 100644 --- a/ct/sonarr.sh +++ b/ct/sonarr.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/stirling-pdf.sh b/ct/stirling-pdf.sh index 29232f59a..f15050543 100644 --- a/ct/stirling-pdf.sh +++ b/ct/stirling-pdf.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/syncthing.sh b/ct/syncthing.sh index ad9fb7282..5cf7765c6 100644 --- a/ct/syncthing.sh +++ b/ct/syncthing.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/tasmoadmin.sh b/ct/tasmoadmin.sh index 8b7727606..662c36f18 100644 --- a/ct/tasmoadmin.sh +++ b/ct/tasmoadmin.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/tautulli.sh b/ct/tautulli.sh index 8430f04ab..55a628d38 100644 --- a/ct/tautulli.sh +++ b/ct/tautulli.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/tdarr.sh b/ct/tdarr.sh index 51b69f45b..b658ec70e 100644 --- a/ct/tdarr.sh +++ b/ct/tdarr.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/technitiumdns.sh b/ct/technitiumdns.sh index 8e6f042c7..d69c81aae 100644 --- a/ct/technitiumdns.sh +++ b/ct/technitiumdns.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/transmission.sh b/ct/transmission.sh index 226384286..a7e234e48 100644 --- a/ct/transmission.sh +++ b/ct/transmission.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/trilium.sh b/ct/trilium.sh index 9a0906075..d4ade9590 100644 --- a/ct/trilium.sh +++ b/ct/trilium.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/ubuntu.sh b/ct/ubuntu.sh index bd89172bd..6572c02cf 100644 --- a/ct/ubuntu.sh +++ b/ct/ubuntu.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/umbrel.sh b/ct/umbrel.sh index 1638def35..62f9a4713 100644 --- a/ct/umbrel.sh +++ b/ct/umbrel.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/unifi.sh b/ct/unifi.sh index 352a809da..820930c0d 100644 --- a/ct/unifi.sh +++ b/ct/unifi.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/unmanic.sh b/ct/unmanic.sh index 4750f0eee..04134ceec 100644 --- a/ct/unmanic.sh +++ b/ct/unmanic.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/uptimekuma.sh b/ct/uptimekuma.sh index c0a14a465..17289c24e 100644 --- a/ct/uptimekuma.sh +++ b/ct/uptimekuma.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/vaultwarden.sh b/ct/vaultwarden.sh index 5b8e51fa0..53b042873 100644 --- a/ct/vaultwarden.sh +++ b/ct/vaultwarden.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/whisparr.sh b/ct/whisparr.sh index 488f81972..1a8b9a017 100644 --- a/ct/whisparr.sh +++ b/ct/whisparr.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/whoogle.sh b/ct/whoogle.sh index 11b127df9..5fa40ba2a 100644 --- a/ct/whoogle.sh +++ b/ct/whoogle.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/wikijs.sh b/ct/wikijs.sh index 03feba327..dedff2d67 100644 --- a/ct/wikijs.sh +++ b/ct/wikijs.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/wireguard.sh b/ct/wireguard.sh index f78f4cda0..c8cc7c6f4 100644 --- a/ct/wireguard.sh +++ b/ct/wireguard.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/yunohost.sh b/ct/yunohost.sh index 2b0c6bbd8..613de2f5f 100644 --- a/ct/yunohost.sh +++ b/ct/yunohost.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/zigbee2mqtt.sh b/ct/zigbee2mqtt.sh index eebc630f1..e3ae7ee86 100644 --- a/ct/zigbee2mqtt.sh +++ b/ct/zigbee2mqtt.sh @@ -40,8 +40,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/zoraxy.sh b/ct/zoraxy.sh index 1f36cbe40..8d3a771b6 100644 --- a/ct/zoraxy.sh +++ b/ct/zoraxy.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/ct/zwave-js-ui.sh b/ct/zwave-js-ui.sh index 83adbc9de..3be12b44b 100644 --- a/ct/zwave-js-ui.sh +++ b/ct/zwave-js-ui.sh @@ -39,8 +39,8 @@ function default_settings() { BRG="vmbr0" NET="dhcp" GATE="" - APT_CACHER="no" - APT_CACHER_IP="none" + APT_CACHER="" + APT_CACHER_IP="" DISABLEIP6="no" MTU="" SD="" diff --git a/misc/build.func b/misc/build.func index 56599ad4b..96542c16c 100644 --- a/misc/build.func +++ b/misc/build.func @@ -134,7 +134,8 @@ echo_default() { echo -e "${DGN}Allocated Ram ${BGN}$var_ram${CL}" echo -e "${DGN}Using Bridge: ${BGN}vmbr0${CL}" echo -e "${DGN}Using Static IP Address: ${BGN}dhcp${CL}" - echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" + echo -e "${DGN}Using Gateway IP Address: ${BGN}Default${CL}" + echo -e "${DGN}Using Apt-Cacher IP Address: ${BGN}Default${CL}" echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -340,6 +341,13 @@ advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}Default${CL}" fi + if APT_CACHER_IP=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set APT-Cacher IP (leave blank for default)" 8 58 --title "APT-Cacher IP" 3>&1 1>&2 2>&3); then + APT_CACHER="${APT_CACHER_IP:+yes}" + echo -e "${DGN}Using APT-Cacher IP Address: ${BGN}${APT_CACHER_IP:-Default}${CL}" + else + exit-script + fi + if (whiptail --backtitle "Proxmox VE Helper Scripts" --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then DISABLEIP6="yes" else @@ -498,6 +506,8 @@ build_container() { else export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/install.func)" fi + export CACHER="$APT_CACHER" + export CACHER_IP="$APT_CACHER_IP" export tz="$timezone" export DISABLEIPV6="$DISABLEIP6" export APPLICATION="$APP" @@ -580,4 +590,4 @@ description() { if [[ -f /etc/systemd/system/ping-instances.service ]]; then systemctl start ping-instances.service fi -} +} \ No newline at end of file diff --git a/misc/install.func b/misc/install.func index d50237f49..380392a20 100644 --- a/misc/install.func +++ b/misc/install.func @@ -131,6 +131,9 @@ network_check() { # This function updates the Container OS by running apt-get update and upgrade update_os() { msg_info "Updating Container OS" + if [[ "$CACHER" == "yes" ]]; then + echo "Acquire::http { Proxy \"http://${CACHER_IP}:3142\"; };" >/etc/apt/apt.conf.d/00aptproxy + fi $STD apt-get update $STD apt-get -o Dpkg::Options::="--force-confold" -y dist-upgrade msg_ok "Updated Container OS" @@ -164,4 +167,4 @@ EOF fi echo "bash -c \"\$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/${app}.sh)\"" >/usr/bin/update chmod +x /usr/bin/update -} +} \ No newline at end of file