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 da5d39cee2..e9e667c95d 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 2d70e13cb1..d77921bf70 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 d401fc284f..49ee751889 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 515606610d..4382f13138 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 bc9814e50f..5e9338ac5a 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 c270574fa5..9ce6763ad1 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 32c435a888..2767d9243a 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 6ead34bc88..85f3ad5543 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 15d1f140f9..8d8235a37b 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 a1a3c0b933..4d360634cc 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 d0a7316480..8cfc2f3eef 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 5371beee1e..d94543e5ea 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 64311a9cd4..a9c74c4d2c 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 fcb30fddc9..85cc051065 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 84448134ff..5fe9759ac4 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 6368677f0a..7e8b014030 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 832dc1b87b..c4f9631c54 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 4449c28565..0084964a65 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 bbc296d178..946101f37e 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 859d96d476..01ffa4a7bf 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 309fe40c4d..759b8805d0 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 4db9904f58..adfd810e9b 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 b3a53756fd..bf42af0ce8 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 385f93c7f0..897a3bf8f7 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 7997d02660..ce263f9b84 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 e24c74e3db..b1d943a41b 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 563ecf57ef..a063e0aff4 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 f469e28e0d..6ec3cab706 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 0aee7d7bce..7a2e0e8777 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 c7a12377b5..a98ce9ae49 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 38e4f55e2e..380ed801c0 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 1b5b19d953..15f911df0b 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 047807f6f4..085cb4ee29 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 18bca60825..b9c1117035 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 70ed090bc2..b2d0645ae5 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 f7a516e072..a81bad4f09 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 086c846822..375024e613 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 e6e28ebf76..3f2c63edb8 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 d32e5e51cc..d252b52bce 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 bbeef90c8c..5107f65bd9 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 13a1535ac0..f6b04d4d3e 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 402a061557..9bb9a141b4 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 e732a60bd0..2d995f6b53 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 eb1cccc642..0bbd1d0ff3 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 898cb4e31a..096eef8994 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 3f7c9883c2..6f5dfc8bd7 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 e3af3b809c..14768ed1fc 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 5c6331bb7a..3b62bfc690 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 e2238bf1a3..206778fb48 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 73810dc8a9..5e461722ff 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 28b1bd3b96..9628b885ca 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 a62a2781d7..e2bf2fa588 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 bbd5c3c3af..bb5e0b7b6b 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 70f6ab09a1..2b3eef0059 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 03bc929f63..1040a70079 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 918a3b6ce7..d5a2579f52 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 80d8408d92..b79777df07 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 04de7c0173..5c5feeae0e 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 c009f9c369..b9af1d6f02 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 bcbef6dc08..e4312b20d8 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 bd6ea26df5..3456304e6f 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 538641ce64..4f8ff0b77f 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 cdd37d15c5..1f68dc09c3 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 ab09183465..75c2ccd914 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 33273e1c62..282d65083e 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 b3957aaa3c..658182dcf6 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 d9510fdd3f..318a169971 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 60e9d7a76a..9546085af5 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 26e36a9c74..cea4c29a82 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 4f8b271c62..a4a76bfc8b 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 06832850d1..c06ccfbb9e 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 f4773d704f..4d05d1d2d8 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 5ff79708a8..26e0c729c3 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 a06f2f6ad4..7604d4443d 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 ad17f550a3..57c5e9c0ac 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 8d36f98ada..ff582d2f1b 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 9ab0b8b31f..998fe17c0c 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 667e581f1e..1f02fe7f95 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 b8e8e1a48f..e1e65b56d3 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 5ff19c817e..8ca8f17247 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 6bf41bd1f6..ae51907810 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 2ad20b7cb8..a2a54ad138 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 da21d11fbf..0a8b1db841 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 d481245f44..69a75d628d 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 78e191126e..7168998e28 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 7b99599091..2e4494cf64 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 c9cb151a9d..8285e22711 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 20d9b7f73a..56484a6053 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 56b513e4a0..279230f3f2 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 b761526d18..c6d0aa2633 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 15488152d6..306ab6202b 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 d3c2d7b333..2354fe7df5 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 3f1cdb6e3e..410f943314 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 36a6297aea..fe2c593908 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 29232f59aa..f150505435 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 ad9fb72826..5cf7765c60 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 8b7727606c..662c36f18c 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 8430f04abe..55a628d380 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 51b69f45bb..b658ec70ed 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 8e6f042c77..d69c81aae9 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 2263842860..a7e234e481 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 9a09060752..d4ade95908 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 bd89172bd0..6572c02cf1 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 1638def357..62f9a47137 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 352a809da7..820930c0d3 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 4750f0eeea..04134ceec8 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 c0a14a4653..17289c24e4 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 5b8e51fa08..53b042873e 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 488f819726..1a8b9a0178 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 11b127df92..5fa40ba2ab 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 03feba3278..dedff2d677 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 f78f4cda02..c8cc7c6f44 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 2b0c6bbd80..613de2f5f9 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 eebc630f17..e3ae7ee86b 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 1f36cbe40c..8d3a771b62 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 83adbc9ded..3be12b44b6 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 56599ad4b1..96542c16c1 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 d50237f49b..380392a205 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