diff --git a/ct/adguard-v5.sh b/ct/adguard-v5.sh index 43255816..d27ffa28 100644 --- a/ct/adguard-v5.sh +++ b/ct/adguard-v5.sh @@ -370,6 +370,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/alpine-v5.sh b/ct/alpine-v5.sh index a3aed622..4b29ba88 100644 --- a/ct/alpine-v5.sh +++ b/ct/alpine-v5.sh @@ -349,6 +349,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/archlinux-v5.sh b/ct/archlinux-v5.sh index d16eb6a1..d3c3009e 100644 --- a/ct/archlinux-v5.sh +++ b/ct/archlinux-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/audiobookshelf-v5.sh b/ct/audiobookshelf-v5.sh index 54e5d69a..55e121d0 100644 --- a/ct/audiobookshelf-v5.sh +++ b/ct/audiobookshelf-v5.sh @@ -348,6 +348,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/autobrr-v5.sh b/ct/autobrr-v5.sh index 88c5ba1c..ba683924 100644 --- a/ct/autobrr-v5.sh +++ b/ct/autobrr-v5.sh @@ -362,6 +362,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/blocky-v5.sh b/ct/blocky-v5.sh index 764e832b..321a6932 100644 --- a/ct/blocky-v5.sh +++ b/ct/blocky-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/casaos-v5.sh b/ct/casaos-v5.sh index 70af50ab..994be9a2 100644 --- a/ct/casaos-v5.sh +++ b/ct/casaos-v5.sh @@ -363,6 +363,7 @@ TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export ST=$FUSE export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/changedetection-v5.sh b/ct/changedetection-v5.sh index 9e856f71..2e9939ff 100644 --- a/ct/changedetection-v5.sh +++ b/ct/changedetection-v5.sh @@ -352,6 +352,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/cronicle-v5.sh b/ct/cronicle-v5.sh index 6e039f32..8097937e 100644 --- a/ct/cronicle-v5.sh +++ b/ct/cronicle-v5.sh @@ -400,6 +400,7 @@ TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export SERV=$SERVER export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/daemonsync-v5.sh b/ct/daemonsync-v5.sh index ec7e6c7f..bc351a7d 100644 --- a/ct/daemonsync-v5.sh +++ b/ct/daemonsync-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/dashy-v5.sh b/ct/dashy-v5.sh index c284725b..7a5f9354 100644 --- a/ct/dashy-v5.sh +++ b/ct/dashy-v5.sh @@ -379,6 +379,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/debian-v5.sh b/ct/debian-v5.sh index a167d1a9..1f0cb49c 100644 --- a/ct/debian-v5.sh +++ b/ct/debian-v5.sh @@ -348,6 +348,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/deconz-v5.sh b/ct/deconz-v5.sh index fbaf1bd1..85f27fe0 100644 --- a/ct/deconz-v5.sh +++ b/ct/deconz-v5.sh @@ -354,6 +354,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/deluge-v5.sh b/ct/deluge-v5.sh index be3a784c..ba79ee1c 100644 --- a/ct/deluge-v5.sh +++ b/ct/deluge-v5.sh @@ -349,6 +349,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/devuan-v5.sh b/ct/devuan-v5.sh index 82d40c70..79871ef6 100644 --- a/ct/devuan-v5.sh +++ b/ct/devuan-v5.sh @@ -348,6 +348,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/docker-v5.sh b/ct/docker-v5.sh index 9a55c770..ae6085f4 100644 --- a/ct/docker-v5.sh +++ b/ct/docker-v5.sh @@ -360,6 +360,7 @@ TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export ST=$FUSE export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/emby-v5.sh b/ct/emby-v5.sh index 78b3623c..57c35026 100644 --- a/ct/emby-v5.sh +++ b/ct/emby-v5.sh @@ -372,6 +372,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/emqx-v5.sh b/ct/emqx-v5.sh index 740f13ff..b0e091ca 100644 --- a/ct/emqx-v5.sh +++ b/ct/emqx-v5.sh @@ -352,6 +352,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/esphome-v5.sh b/ct/esphome-v5.sh index 1f65a742..bf580607 100644 --- a/ct/esphome-v5.sh +++ b/ct/esphome-v5.sh @@ -359,6 +359,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/grafana-v5.sh b/ct/grafana-v5.sh index 0723b384..20947e81 100644 --- a/ct/grafana-v5.sh +++ b/ct/grafana-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/grocy-v5.sh b/ct/grocy-v5.sh index 8dd7be84..f715b57e 100644 --- a/ct/grocy-v5.sh +++ b/ct/grocy-v5.sh @@ -352,6 +352,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/heimdalldashboard-v5.sh b/ct/heimdalldashboard-v5.sh index 2e687d41..396e5825 100644 --- a/ct/heimdalldashboard-v5.sh +++ b/ct/heimdalldashboard-v5.sh @@ -432,6 +432,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/homeassistant-core-v5.sh b/ct/homeassistant-core-v5.sh index 9a5247af..83b04839 100644 --- a/ct/homeassistant-core-v5.sh +++ b/ct/homeassistant-core-v5.sh @@ -427,6 +427,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/homeassistant-v5.sh b/ct/homeassistant-v5.sh index 80f7c040..04f7f93a 100644 --- a/ct/homeassistant-v5.sh +++ b/ct/homeassistant-v5.sh @@ -428,6 +428,7 @@ TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export ST=$FUSE export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/homebridge-v5.sh b/ct/homebridge-v5.sh index f0de87a9..851b72bc 100644 --- a/ct/homebridge-v5.sh +++ b/ct/homebridge-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/homepage-v5.sh b/ct/homepage-v5.sh index 092838f9..a93adf81 100644 --- a/ct/homepage-v5.sh +++ b/ct/homepage-v5.sh @@ -359,6 +359,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/homer-v5.sh b/ct/homer-v5.sh index d7a94ab4..458bbd87 100644 --- a/ct/homer-v5.sh +++ b/ct/homer-v5.sh @@ -372,6 +372,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/hyperion-v5.sh b/ct/hyperion-v5.sh index b26fa92b..bd2f7106 100644 --- a/ct/hyperion-v5.sh +++ b/ct/hyperion-v5.sh @@ -354,6 +354,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/influxdb-v5.sh b/ct/influxdb-v5.sh index 7865ff37..9f3889e8 100644 --- a/ct/influxdb-v5.sh +++ b/ct/influxdb-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/iobroker-v5.sh b/ct/iobroker-v5.sh index aec33a36..2099aa8e 100644 --- a/ct/iobroker-v5.sh +++ b/ct/iobroker-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/jellyfin-v5.sh b/ct/jellyfin-v5.sh index 44743db4..a81b354e 100644 --- a/ct/jellyfin-v5.sh +++ b/ct/jellyfin-v5.sh @@ -362,6 +362,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/k0s-v5.sh b/ct/k0s-v5.sh index 566323c8..1e5f3e92 100644 --- a/ct/k0s-v5.sh +++ b/ct/k0s-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/kavita-v5.sh b/ct/kavita-v5.sh index 00bde20e..acf18be2 100644 --- a/ct/kavita-v5.sh +++ b/ct/kavita-v5.sh @@ -351,6 +351,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/keycloak-v5.sh b/ct/keycloak-v5.sh index 5c646690..e3e8eac0 100644 --- a/ct/keycloak-v5.sh +++ b/ct/keycloak-v5.sh @@ -354,6 +354,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/lidarr-v5.sh b/ct/lidarr-v5.sh index 1b210bf8..636e4e0a 100644 --- a/ct/lidarr-v5.sh +++ b/ct/lidarr-v5.sh @@ -348,6 +348,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/magicmirror-v5.sh b/ct/magicmirror-v5.sh index d0b6d70c..50432f13 100644 --- a/ct/magicmirror-v5.sh +++ b/ct/magicmirror-v5.sh @@ -355,6 +355,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/mariadb-v5.sh b/ct/mariadb-v5.sh index a7e10c6f..d37c0186 100644 --- a/ct/mariadb-v5.sh +++ b/ct/mariadb-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/meshcentral-v5.sh b/ct/meshcentral-v5.sh index 42a7a903..68285c3b 100644 --- a/ct/meshcentral-v5.sh +++ b/ct/meshcentral-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/motioneye-v5.sh b/ct/motioneye-v5.sh index d6438774..eb08e9b1 100644 --- a/ct/motioneye-v5.sh +++ b/ct/motioneye-v5.sh @@ -352,6 +352,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/mqtt-v5.sh b/ct/mqtt-v5.sh index 4a47c646..f7995b7f 100644 --- a/ct/mqtt-v5.sh +++ b/ct/mqtt-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/n8n-v5.sh b/ct/n8n-v5.sh index 15ed0944..beb58747 100644 --- a/ct/n8n-v5.sh +++ b/ct/n8n-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/navidrome-v5.sh b/ct/navidrome-v5.sh index 9aca8a7d..c382844a 100644 --- a/ct/navidrome-v5.sh +++ b/ct/navidrome-v5.sh @@ -364,6 +364,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/nextcloudpi-v5.sh b/ct/nextcloudpi-v5.sh index 67fbc1be..20909da5 100644 --- a/ct/nextcloudpi-v5.sh +++ b/ct/nextcloudpi-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/nginxproxymanager-v5.sh b/ct/nginxproxymanager-v5.sh index 0bc50e2e..a1f96474 100644 --- a/ct/nginxproxymanager-v5.sh +++ b/ct/nginxproxymanager-v5.sh @@ -462,6 +462,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/nocodb-v5.sh b/ct/nocodb-v5.sh index 8dd52282..be844bf6 100644 --- a/ct/nocodb-v5.sh +++ b/ct/nocodb-v5.sh @@ -356,6 +356,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/node-red-v5.sh b/ct/node-red-v5.sh index 23e2b5c6..2784b41f 100644 --- a/ct/node-red-v5.sh +++ b/ct/node-red-v5.sh @@ -389,6 +389,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/omada-v5.sh b/ct/omada-v5.sh index 7923b522..0af724ce 100644 --- a/ct/omada-v5.sh +++ b/ct/omada-v5.sh @@ -351,6 +351,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/omv-v5.sh b/ct/omv-v5.sh index 1a2577df..839b8b69 100644 --- a/ct/omv-v5.sh +++ b/ct/omv-v5.sh @@ -354,6 +354,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/openhab-v5.sh b/ct/openhab-v5.sh index 28041e77..46720606 100644 --- a/ct/openhab-v5.sh +++ b/ct/openhab-v5.sh @@ -354,6 +354,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/paperless-ngx-v5.sh b/ct/paperless-ngx-v5.sh index cfd7653d..5b5d8a6f 100644 --- a/ct/paperless-ngx-v5.sh +++ b/ct/paperless-ngx-v5.sh @@ -421,6 +421,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/photoprism-v5.sh b/ct/photoprism-v5.sh index 0787d490..33a810db 100644 --- a/ct/photoprism-v5.sh +++ b/ct/photoprism-v5.sh @@ -374,6 +374,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/pihole-v5.sh b/ct/pihole-v5.sh index c2a79326..4ecb5d26 100644 --- a/ct/pihole-v5.sh +++ b/ct/pihole-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/plex-v5.sh b/ct/plex-v5.sh index 39766d02..c973e8a0 100644 --- a/ct/plex-v5.sh +++ b/ct/plex-v5.sh @@ -372,6 +372,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/podman-homeassistant-v5.sh b/ct/podman-homeassistant-v5.sh index e9301f95..8f88bf64 100644 --- a/ct/podman-homeassistant-v5.sh +++ b/ct/podman-homeassistant-v5.sh @@ -403,6 +403,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/podman-v5.sh b/ct/podman-v5.sh index ceaaabc6..048c6a50 100644 --- a/ct/podman-v5.sh +++ b/ct/podman-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/postgresql-v5.sh b/ct/postgresql-v5.sh index 09ded8b2..ff6dcbf0 100644 --- a/ct/postgresql-v5.sh +++ b/ct/postgresql-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/prometheus-v5.sh b/ct/prometheus-v5.sh index e2b60b9a..898b61b0 100644 --- a/ct/prometheus-v5.sh +++ b/ct/prometheus-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/prowlarr-v5.sh b/ct/prowlarr-v5.sh index 23fe82cc..3ff3a087 100644 --- a/ct/prowlarr-v5.sh +++ b/ct/prowlarr-v5.sh @@ -348,6 +348,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/radarr-v5.sh b/ct/radarr-v5.sh index cd1a1fd1..a71f5265 100644 --- a/ct/radarr-v5.sh +++ b/ct/radarr-v5.sh @@ -348,6 +348,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/readarr-v5.sh b/ct/readarr-v5.sh index d78e79bf..71dde5fe 100644 --- a/ct/readarr-v5.sh +++ b/ct/readarr-v5.sh @@ -348,6 +348,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/rockylinux-v5.sh b/ct/rockylinux-v5.sh index 0888b791..421a5eab 100644 --- a/ct/rockylinux-v5.sh +++ b/ct/rockylinux-v5.sh @@ -354,6 +354,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/sabnzbd-v5.sh b/ct/sabnzbd-v5.sh index f9422730..885619eb 100644 --- a/ct/sabnzbd-v5.sh +++ b/ct/sabnzbd-v5.sh @@ -348,6 +348,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/scrypted-v5.sh b/ct/scrypted-v5.sh index 0c2e1f0d..9e0c1244 100644 --- a/ct/scrypted-v5.sh +++ b/ct/scrypted-v5.sh @@ -354,6 +354,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/shinobi-v5.sh b/ct/shinobi-v5.sh index 8b4f1d67..54abd42f 100644 --- a/ct/shinobi-v5.sh +++ b/ct/shinobi-v5.sh @@ -363,6 +363,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/sonarr-v5.sh b/ct/sonarr-v5.sh index 27ff2b07..7e5f472e 100644 --- a/ct/sonarr-v5.sh +++ b/ct/sonarr-v5.sh @@ -348,6 +348,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/syncthing-v5.sh b/ct/syncthing-v5.sh index 3638e391..d11d2c2d 100644 --- a/ct/syncthing-v5.sh +++ b/ct/syncthing-v5.sh @@ -354,6 +354,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/tdarr-v5.sh b/ct/tdarr-v5.sh index ec70c7bc..679b1258 100644 --- a/ct/tdarr-v5.sh +++ b/ct/tdarr-v5.sh @@ -348,6 +348,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/technitiumdns-v5.sh b/ct/technitiumdns-v5.sh index 75603db3..9fd8c7f3 100644 --- a/ct/technitiumdns-v5.sh +++ b/ct/technitiumdns-v5.sh @@ -415,6 +415,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/transmission-v5.sh b/ct/transmission-v5.sh index db1881b8..ff634702 100644 --- a/ct/transmission-v5.sh +++ b/ct/transmission-v5.sh @@ -348,6 +348,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/trilium-v5.sh b/ct/trilium-v5.sh index ee1d71d6..7a6648e4 100644 --- a/ct/trilium-v5.sh +++ b/ct/trilium-v5.sh @@ -372,6 +372,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/ubuntu-v5.sh b/ct/ubuntu-v5.sh index aa85b85f..ece6935e 100644 --- a/ct/ubuntu-v5.sh +++ b/ct/ubuntu-v5.sh @@ -356,6 +356,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/umbrel-v5.sh b/ct/umbrel-v5.sh index a7e63c93..fbf3e650 100644 --- a/ct/umbrel-v5.sh +++ b/ct/umbrel-v5.sh @@ -361,6 +361,7 @@ TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export ST=$FUSE export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/unifi-v5.sh b/ct/unifi-v5.sh index 82c6edfd..7c395c9e 100644 --- a/ct/unifi-v5.sh +++ b/ct/unifi-v5.sh @@ -353,6 +353,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/uptimekuma-v5.sh b/ct/uptimekuma-v5.sh index e638b68c..af07651f 100644 --- a/ct/uptimekuma-v5.sh +++ b/ct/uptimekuma-v5.sh @@ -370,6 +370,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/vaultwarden-v5.sh b/ct/vaultwarden-v5.sh index e89d3872..1eff8d4e 100644 --- a/ct/vaultwarden-v5.sh +++ b/ct/vaultwarden-v5.sh @@ -421,6 +421,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/whisparr-v5.sh b/ct/whisparr-v5.sh index 4877261f..3549ade0 100644 --- a/ct/whisparr-v5.sh +++ b/ct/whisparr-v5.sh @@ -349,6 +349,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/whoogle-v5.sh b/ct/whoogle-v5.sh index 4a5e2296..2027bf44 100644 --- a/ct/whoogle-v5.sh +++ b/ct/whoogle-v5.sh @@ -352,6 +352,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/wikijs-v5.sh b/ct/wikijs-v5.sh index 12aaa524..80f0cd42 100644 --- a/ct/wikijs-v5.sh +++ b/ct/wikijs-v5.sh @@ -366,6 +366,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/wireguard-v5.sh b/ct/wireguard-v5.sh index 8c773e57..642ff613 100644 --- a/ct/wireguard-v5.sh +++ b/ct/wireguard-v5.sh @@ -408,6 +408,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/yunohost-v5.sh b/ct/yunohost-v5.sh index 1a79f7dd..ca1efda9 100644 --- a/ct/yunohost-v5.sh +++ b/ct/yunohost-v5.sh @@ -348,6 +348,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/zigbee2mqtt-v5.sh b/ct/zigbee2mqtt-v5.sh index 4e8055dc..c5c789a1 100644 --- a/ct/zigbee2mqtt-v5.sh +++ b/ct/zigbee2mqtt-v5.sh @@ -399,6 +399,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/ct/zwave-js-ui-v5.sh b/ct/zwave-js-ui-v5.sh index 5beec0f9..6d3f63cc 100644 --- a/ct/zwave-js-ui-v5.sh +++ b/ct/zwave-js-ui-v5.sh @@ -366,6 +366,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export DISABLEIPV6=$DISABLEIP6 +export APPLICATION=$APP export VERBOSE=$VERB export SSH_ROOT=${SSH} export CTID=$CT_ID diff --git a/install/adguard-v5-install.sh b/install/adguard-v5-install.sh index 309588d0..f4c92d4c 100644 --- a/install/adguard-v5-install.sh +++ b/install/adguard-v5-install.sh @@ -92,10 +92,10 @@ rm install.sh msg_ok "Installed AdGuard Home" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/audiobookshelf-v5-install.sh b/install/audiobookshelf-v5-install.sh index 140b4239..51d38430 100644 --- a/install/audiobookshelf-v5-install.sh +++ b/install/audiobookshelf-v5-install.sh @@ -90,10 +90,10 @@ $STD apt install audiobookshelf msg_ok "Installed audiobookshelf" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/autobrr-v5-install.sh b/install/autobrr-v5-install.sh index 2aa9ed6a..4414672e 100644 --- a/install/autobrr-v5-install.sh +++ b/install/autobrr-v5-install.sh @@ -111,10 +111,10 @@ systemctl enable --now -q autobrr.service msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/blocky-v5-install.sh b/install/blocky-v5-install.sh index d8c20d98..5c4bef55 100644 --- a/install/blocky-v5-install.sh +++ b/install/blocky-v5-install.sh @@ -344,10 +344,10 @@ $STD systemctl enable --now blocky msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/casaos-v5-install.sh b/install/casaos-v5-install.sh index 13ca9596..fa81060c 100644 --- a/install/casaos-v5-install.sh +++ b/install/casaos-v5-install.sh @@ -100,10 +100,10 @@ $STD bash <(curl -fsSL https://get.casaos.io) msg_ok "Installed CasaOS" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/changedetection-v5-install.sh b/install/changedetection-v5-install.sh index 54356608..2827bfc7 100644 --- a/install/changedetection-v5-install.sh +++ b/install/changedetection-v5-install.sh @@ -104,10 +104,10 @@ $STD systemctl enable --now changedetection msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/cronicle-v5-install.sh b/install/cronicle-v5-install.sh index fe04107d..8f7d152c 100644 --- a/install/cronicle-v5-install.sh +++ b/install/cronicle-v5-install.sh @@ -110,10 +110,10 @@ $STD update-rc.d cronicled defaults msg_ok "Installed Cronicle Primary Server" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/daemonsync-v5-install.sh b/install/daemonsync-v5-install.sh index 2bc5536a..16f410c1 100644 --- a/install/daemonsync-v5-install.sh +++ b/install/daemonsync-v5-install.sh @@ -89,10 +89,10 @@ $STD dpkg -i daemonsync_2.2.0.0059_amd64.deb msg_ok "Installed Daemon Sync Server" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/dashy-v5-install.sh b/install/dashy-v5-install.sh index 5d5dd79c..f6421b9a 100644 --- a/install/dashy-v5-install.sh +++ b/install/dashy-v5-install.sh @@ -120,10 +120,10 @@ systemctl start dashy msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/debian-v5-install.sh b/install/debian-v5-install.sh index 0a5e83a5..e910d9e5 100644 --- a/install/debian-v5-install.sh +++ b/install/debian-v5-install.sh @@ -82,10 +82,10 @@ $STD apt-get install -y mc msg_ok "Installed Dependencies" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/deconz-v5-install.sh b/install/deconz-v5-install.sh index 189d4ded..6a7f82a7 100644 --- a/install/deconz-v5-install.sh +++ b/install/deconz-v5-install.sh @@ -71,6 +71,12 @@ RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }') if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi set -e +CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }') +cat </etc/apt/sources.list +deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main +deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main +EOF + msg_info "Updating Container OS" $STD apt-get update $STD apt-get -y upgrade @@ -79,7 +85,6 @@ msg_ok "Updated Container OS" msg_info "Installing Dependencies" $STD apt-get install -y curl $STD apt-get install -y sudo -$STD apt-get install -y mc $STD apt-get install -y gnupg msg_ok "Installed Dependencies" @@ -113,10 +118,10 @@ $STD systemctl enable --now deconz msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/deluge-v5-install.sh b/install/deluge-v5-install.sh index ab026534..776814e7 100644 --- a/install/deluge-v5-install.sh +++ b/install/deluge-v5-install.sh @@ -127,10 +127,10 @@ systemctl enable --now -q deluge-web.service msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/devuan-v5-install.sh b/install/devuan-v5-install.sh index 52cdbb48..9da236b1 100644 --- a/install/devuan-v5-install.sh +++ b/install/devuan-v5-install.sh @@ -80,6 +80,8 @@ $STD apt-get install -y mc msg_ok "Installed Dependencies" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if [[ "${SSH_ROOT}" == "yes" ]]; then sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config; systemctl restart sshd; fi msg_info "Cleaning up" diff --git a/install/docker-v5-install.sh b/install/docker-v5-install.sh index a50a80e9..091dfdec 100644 --- a/install/docker-v5-install.sh +++ b/install/docker-v5-install.sh @@ -144,10 +144,10 @@ if [[ $DOCKER_COMPOSE == "Y" ]]; then fi echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/emby-v5-install.sh b/install/emby-v5-install.sh index 753c541d..fff7abed 100644 --- a/install/emby-v5-install.sh +++ b/install/emby-v5-install.sh @@ -71,6 +71,12 @@ RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }') if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi set -e +CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }') +cat </etc/apt/sources.list +deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main +deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main +EOF + msg_info "Updating Container OS" $STD apt-get update $STD apt-get -y upgrade @@ -79,7 +85,6 @@ msg_ok "Updated Container OS" msg_info "Installing Dependencies" $STD apt-get install -y curl $STD apt-get install -y sudo -$STD apt-get install -y mc msg_ok "Installed Dependencies" if [[ -z "$(grep -w "100000" /proc/self/uid_map)" ]]; then @@ -103,10 +108,10 @@ $STD dpkg -i emby-server-deb_${LATEST}_amd64.deb msg_ok "Installed Emby" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/emqx-v5-install.sh b/install/emqx-v5-install.sh index 07e6b630..23df928a 100644 --- a/install/emqx-v5-install.sh +++ b/install/emqx-v5-install.sh @@ -88,10 +88,10 @@ $STD systemctl enable --now emqx msg_ok "Installed EMQX" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/esphome-v5-install.sh b/install/esphome-v5-install.sh index 42e810b0..b2af525e 100644 --- a/install/esphome-v5-install.sh +++ b/install/esphome-v5-install.sh @@ -109,10 +109,10 @@ systemctl start esphomeDashboard msg_ok "Installed ESPHome Dashboard" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/grafana-v5-install.sh b/install/grafana-v5-install.sh index 6e4b218e..2abf3dff 100644 --- a/install/grafana-v5-install.sh +++ b/install/grafana-v5-install.sh @@ -96,10 +96,10 @@ $STD apt-get install -y grafana msg_ok "Installed Grafana" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/grocy-v5-install.sh b/install/grocy-v5-install.sh index 3210baa2..d23ff417 100644 --- a/install/grocy-v5-install.sh +++ b/install/grocy-v5-install.sh @@ -126,10 +126,10 @@ systemctl reload apache2 msg_ok "Installed grocy" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/heimdalldashboard-v5-install.sh b/install/heimdalldashboard-v5-install.sh index a920d9ea..fac55718 100644 --- a/install/heimdalldashboard-v5-install.sh +++ b/install/heimdalldashboard-v5-install.sh @@ -120,10 +120,10 @@ $STD sudo systemctl enable --now heimdall.service msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/homeassistant-core-v5-install.sh b/install/homeassistant-core-v5-install.sh index c51a67f6..83695041 100644 --- a/install/homeassistant-core-v5-install.sh +++ b/install/homeassistant-core-v5-install.sh @@ -162,10 +162,10 @@ $STD systemctl enable --now homeassistant msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/homeassistant-v5-install.sh b/install/homeassistant-v5-install.sh index 3e6d6023..f86f089e 100644 --- a/install/homeassistant-v5-install.sh +++ b/install/homeassistant-v5-install.sh @@ -147,10 +147,10 @@ $STD docker run -d \ msg_ok "Installed Home Assistant $CORE_LATEST_VERSION" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/homebridge-v5-install.sh b/install/homebridge-v5-install.sh index f1a75d97..4e1e4c92 100644 --- a/install/homebridge-v5-install.sh +++ b/install/homebridge-v5-install.sh @@ -99,10 +99,10 @@ $STD hb-service install --user homebridge msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/homepage-v5-install.sh b/install/homepage-v5-install.sh index 9c093dfe..3ef04b4b 100644 --- a/install/homepage-v5-install.sh +++ b/install/homepage-v5-install.sh @@ -119,10 +119,10 @@ $STD systemctl enable --now homepage msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/homer-v5-install.sh b/install/homer-v5-install.sh index f9012735..70d9ee17 100644 --- a/install/homer-v5-install.sh +++ b/install/homer-v5-install.sh @@ -108,10 +108,10 @@ $STD systemctl enable --now homer msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/hyperion-v5-install.sh b/install/hyperion-v5-install.sh index 017efb42..2eba6ef7 100644 --- a/install/hyperion-v5-install.sh +++ b/install/hyperion-v5-install.sh @@ -93,10 +93,10 @@ $STD systemctl enable --now hyperion@root.service msg_ok "Installed Hyperion" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/influxdb-v5-install.sh b/install/influxdb-v5-install.sh index c7db11a5..dc918a9a 100644 --- a/install/influxdb-v5-install.sh +++ b/install/influxdb-v5-install.sh @@ -122,10 +122,10 @@ if [[ $TELEGRAF == "Y" ]]; then fi echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/iobroker-v5-install.sh b/install/iobroker-v5-install.sh index f17f3978..6db17570 100644 --- a/install/iobroker-v5-install.sh +++ b/install/iobroker-v5-install.sh @@ -87,10 +87,10 @@ $STD bash <(curl -fsSL https://iobroker.net/install.sh) msg_ok "Installed ioBroker" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/jellyfin-v5-install.sh b/install/jellyfin-v5-install.sh index 56fc9c6d..e7633690 100644 --- a/install/jellyfin-v5-install.sh +++ b/install/jellyfin-v5-install.sh @@ -71,6 +71,12 @@ RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }') if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi set -e +CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }') +cat </etc/apt/sources.list +deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main +deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main +EOF + msg_info "Updating Container OS" $STD apt-get update $STD apt-get -y upgrade @@ -79,7 +85,6 @@ msg_ok "Updated Container OS" msg_info "Installing Dependencies" $STD apt-get install -y curl $STD apt-get install -y sudo -$STD apt-get install -y mc $STD apt-get install -y apt-transport-https $STD apt-get install -y software-properties-common msg_ok "Installed Dependencies" @@ -127,10 +132,10 @@ ln -s /usr/share/jellyfin/web/ /usr/lib/jellyfin/bin/jellyfin-web msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/k0s-v5-install.sh b/install/k0s-v5-install.sh index a7906488..dcb6de05 100644 --- a/install/k0s-v5-install.sh +++ b/install/k0s-v5-install.sh @@ -103,10 +103,10 @@ $STD bash <(curl -sSLf https://raw.githubusercontent.com/helm/helm/main/scripts/ msg_ok "Installed Helm" fi echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/kavita-v5-install.sh b/install/kavita-v5-install.sh index 41ebc755..21245848 100644 --- a/install/kavita-v5-install.sh +++ b/install/kavita-v5-install.sh @@ -109,10 +109,10 @@ systemctl enable --now -q kavita.service msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/keycloak-v5-install.sh b/install/keycloak-v5-install.sh index b05cc0cf..d64ef3a1 100644 --- a/install/keycloak-v5-install.sh +++ b/install/keycloak-v5-install.sh @@ -106,10 +106,10 @@ $STD systemctl enable --now keycloak.service msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/lidarr-v5-install.sh b/install/lidarr-v5-install.sh index 00bf3b60..d3e8b945 100644 --- a/install/lidarr-v5-install.sh +++ b/install/lidarr-v5-install.sh @@ -113,10 +113,10 @@ systemctl enable --now -q lidarr msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/magicmirror-v5-install.sh b/install/magicmirror-v5-install.sh index 8aafd3e5..f53c1689 100644 --- a/install/magicmirror-v5-install.sh +++ b/install/magicmirror-v5-install.sh @@ -208,20 +208,20 @@ $STD systemctl enable --now magicmirror msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin - GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" - mkdir -p $(dirname $GETTY_OVERRIDE) - cat <$GETTY_OVERRIDE + GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" + mkdir -p $(dirname $GETTY_OVERRIDE) + cat <$GETTY_OVERRIDE [Service] ExecStart= ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,38400,9600 \$TERM EOF - systemctl daemon-reload - systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') - msg_ok "Customized Container" + systemctl daemon-reload + systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') + msg_ok "Customized Container" fi if [[ "${SSH_ROOT}" == "yes" ]]; then sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config; systemctl restart sshd; fi diff --git a/install/mariadb-v5-install.sh b/install/mariadb-v5-install.sh index 5cefe546..72cf2410 100644 --- a/install/mariadb-v5-install.sh +++ b/install/mariadb-v5-install.sh @@ -104,10 +104,10 @@ if [[ $ADMINER == "Y" ]]; then fi echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/meshcentral-v5-install.sh b/install/meshcentral-v5-install.sh index 31031d10..67cc6747 100644 --- a/install/meshcentral-v5-install.sh +++ b/install/meshcentral-v5-install.sh @@ -98,10 +98,10 @@ $STD node node_modules/meshcentral --install msg_ok "Installed MeshCentral" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/motioneye-v5-install.sh b/install/motioneye-v5-install.sh index c573d84d..1575f17f 100644 --- a/install/motioneye-v5-install.sh +++ b/install/motioneye-v5-install.sh @@ -117,10 +117,10 @@ systemctl start motioneye msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/mqtt-v5-install.sh b/install/mqtt-v5-install.sh index a7401efe..53b39b32 100644 --- a/install/mqtt-v5-install.sh +++ b/install/mqtt-v5-install.sh @@ -94,10 +94,10 @@ $STD apt-get -y install mosquitto-clients msg_ok "Installed Mosquitto MQTT Broker" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/n8n-v5-install.sh b/install/n8n-v5-install.sh index 9c421c55..be76bfa3 100644 --- a/install/n8n-v5-install.sh +++ b/install/n8n-v5-install.sh @@ -109,10 +109,10 @@ $STD systemctl enable --now n8n msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/navidrome-v5-install.sh b/install/navidrome-v5-install.sh index c23cfa96..33ae8d3e 100644 --- a/install/navidrome-v5-install.sh +++ b/install/navidrome-v5-install.sh @@ -137,10 +137,10 @@ $STD systemctl enable --now navidrome.service msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/nextcloudpi-v5-install.sh b/install/nextcloudpi-v5-install.sh index f702367f..4396c90c 100644 --- a/install/nextcloudpi-v5-install.sh +++ b/install/nextcloudpi-v5-install.sh @@ -89,10 +89,10 @@ service apache2 restart msg_ok "Installed NextCloudPi" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/nginxproxymanager-v5-install.sh b/install/nginxproxymanager-v5-install.sh index 193aa3f7..99b09e8a 100644 --- a/install/nginxproxymanager-v5-install.sh +++ b/install/nginxproxymanager-v5-install.sh @@ -241,10 +241,10 @@ EOF msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/nocodb-v5-install.sh b/install/nocodb-v5-install.sh index e09afe29..d22f7308 100644 --- a/install/nocodb-v5-install.sh +++ b/install/nocodb-v5-install.sh @@ -116,10 +116,10 @@ systemctl enable --now nocodb.service &>/dev/null msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/node-red-v5-install.sh b/install/node-red-v5-install.sh index 6ed1c729..a127c44d 100644 --- a/install/node-red-v5-install.sh +++ b/install/node-red-v5-install.sh @@ -119,10 +119,10 @@ $STD systemctl enable --now nodered.service msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/omada-v5-install.sh b/install/omada-v5-install.sh index 2f007ebf..b56d4564 100644 --- a/install/omada-v5-install.sh +++ b/install/omada-v5-install.sh @@ -71,6 +71,12 @@ RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }') if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi set -e +CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }') +cat </etc/apt/sources.list +deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main +deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main +EOF + msg_info "Updating Container OS" $STD apt-get update $STD apt-get -y upgrade @@ -79,7 +85,6 @@ msg_ok "Updated Container OS" msg_info "Installing Dependencies" $STD apt-get install -y curl $STD apt-get install -y sudo -$STD apt-get install -y mc $STD apt-get install -y gnupg $STD apt-get install -y openjdk-8-jre-headless $STD apt-get install -y jsvc @@ -93,10 +98,10 @@ $STD dpkg -i Omada_SDN_Controller_v5.7.4_Linux_x64.deb msg_ok "Installed Omada Controller" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/omv-v5-install.sh b/install/omv-v5-install.sh index dc355c56..32151fa7 100644 --- a/install/omv-v5-install.sh +++ b/install/omv-v5-install.sh @@ -105,10 +105,10 @@ omv-confdbadm populate msg_ok "Installed OpenMediaVault" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/openhab-v5-install.sh b/install/openhab-v5-install.sh index 89481331..54b87c0a 100644 --- a/install/openhab-v5-install.sh +++ b/install/openhab-v5-install.sh @@ -104,10 +104,10 @@ $STD systemctl enable --now openhab.service msg_ok "Installed openHAB" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/paperless-ngx-v5-install.sh b/install/paperless-ngx-v5-install.sh index cbc85eea..5c076deb 100644 --- a/install/paperless-ngx-v5-install.sh +++ b/install/paperless-ngx-v5-install.sh @@ -250,20 +250,20 @@ $STD systemctl enable --now paperless-consumer paperless-webserver paperless-sch msg_ok "Created Services" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin - GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" - mkdir -p $(dirname $GETTY_OVERRIDE) - cat <$GETTY_OVERRIDE + GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" + mkdir -p $(dirname $GETTY_OVERRIDE) + cat <$GETTY_OVERRIDE [Service] ExecStart= ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,38400,9600 \$TERM EOF - systemctl daemon-reload - systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') - msg_ok "Customized Container" + systemctl daemon-reload + systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') + msg_ok "Customized Container" fi if [[ "${SSH_ROOT}" == "yes" ]]; then sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config; systemctl restart sshd; fi diff --git a/install/photoprism-v5-install.sh b/install/photoprism-v5-install.sh index a18106b9..f167d361 100644 --- a/install/photoprism-v5-install.sh +++ b/install/photoprism-v5-install.sh @@ -177,10 +177,10 @@ WantedBy=multi-user.target" >$service_path msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/pihole-v5-install.sh b/install/pihole-v5-install.sh index 2ef307c8..fb175b07 100644 --- a/install/pihole-v5-install.sh +++ b/install/pihole-v5-install.sh @@ -110,10 +110,10 @@ $STD bash <(curl -fsSL https://install.pi-hole.net) /dev/stdin --unattended msg_ok "Installed Pi-hole" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/plex-v5-install.sh b/install/plex-v5-install.sh index 1afcc401..660fa292 100644 --- a/install/plex-v5-install.sh +++ b/install/plex-v5-install.sh @@ -71,6 +71,12 @@ RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }') if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi set -e +CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }') +cat </etc/apt/sources.list +deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main +deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main +EOF + msg_info "Updating Container OS" $STD apt-get update $STD apt-get -y upgrade @@ -79,7 +85,6 @@ msg_ok "Updated Container OS" msg_info "Installing Dependencies" $STD apt-get install -y curl $STD apt-get install -y sudo -$STD apt-get install -y mc $STD apt-get install -y gnupg msg_ok "Installed Dependencies" @@ -107,10 +112,10 @@ $STD apt-get -o Dpkg::Options::="--force-confold" install -y plexmediaserver msg_ok "Installed Plex Media Server" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/podman-homeassistant-v5-install.sh b/install/podman-homeassistant-v5-install.sh index 18828d37..56853cf3 100644 --- a/install/podman-homeassistant-v5-install.sh +++ b/install/podman-homeassistant-v5-install.sh @@ -109,10 +109,10 @@ $STD systemctl enable --now homeassistant msg_ok "Installed Home Assistant" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/podman-v5-install.sh b/install/podman-v5-install.sh index c8e375a0..91d1e340 100644 --- a/install/podman-v5-install.sh +++ b/install/podman-v5-install.sh @@ -88,10 +88,10 @@ echo -e 'unqualified-search-registries=["docker.io"]' >> /etc/containers/registr msg_ok "Installed Podman" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/postgresql-v5-install.sh b/install/postgresql-v5-install.sh index 08357047..0fa74a59 100644 --- a/install/postgresql-v5-install.sh +++ b/install/postgresql-v5-install.sh @@ -211,10 +211,10 @@ if [[ $ADMINER == "Y" ]]; then fi echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/prometheus-v5-install.sh b/install/prometheus-v5-install.sh index 33a090bb..7ee69706 100644 --- a/install/prometheus-v5-install.sh +++ b/install/prometheus-v5-install.sh @@ -118,10 +118,10 @@ $STD sudo systemctl enable --now prometheus msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/prowlarr-v5-install.sh b/install/prowlarr-v5-install.sh index 6157280e..5e9bf052 100644 --- a/install/prowlarr-v5-install.sh +++ b/install/prowlarr-v5-install.sh @@ -111,10 +111,10 @@ systemctl enable --now -q prowlarr msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/radarr-v5-install.sh b/install/radarr-v5-install.sh index 32c540e0..b2829bf8 100644 --- a/install/radarr-v5-install.sh +++ b/install/radarr-v5-install.sh @@ -111,10 +111,10 @@ systemctl enable --now -q radarr msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/readarr-v5-install.sh b/install/readarr-v5-install.sh index ae2b5416..66ad0e93 100644 --- a/install/readarr-v5-install.sh +++ b/install/readarr-v5-install.sh @@ -111,10 +111,10 @@ systemctl enable --now -q readarr msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/sabnzbd-v5-install.sh b/install/sabnzbd-v5-install.sh index 3e700eb3..bae07f8a 100644 --- a/install/sabnzbd-v5-install.sh +++ b/install/sabnzbd-v5-install.sh @@ -116,10 +116,10 @@ systemctl enable --now -q sabnzbd.service msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/scrypted-v5-install.sh b/install/scrypted-v5-install.sh index d4753e21..e67b5a15 100644 --- a/install/scrypted-v5-install.sh +++ b/install/scrypted-v5-install.sh @@ -176,10 +176,10 @@ WantedBy=multi-user.target" >$service_path $STD systemctl enable --now scrypted.service msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/shinobi-v5-install.sh b/install/shinobi-v5-install.sh index 8738ea13..29af4e26 100644 --- a/install/shinobi-v5-install.sh +++ b/install/shinobi-v5-install.sh @@ -71,6 +71,12 @@ RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }') if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi set -e +CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }') +cat </etc/apt/sources.list +deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main +deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main +EOF + msg_info "Updating Container OS" $STD apt-get update --fix-missing $STD apt-get -y upgrade @@ -86,7 +92,7 @@ if [ "$ubuntuversion" = "18" ] || [ "$ubuntuversion" -le "18" ]; then fi msg_info "Installing Dependencies" -$STD apt-get install -y curl sudo git mc +$STD apt-get install -y curl sudo git $STD apt-get install -y make zip net-tools $STD apt-get install -y gcc g++ cmake msg_ok "Installed Dependencies" @@ -145,10 +151,10 @@ $STD pm2 list msg_ok "Installed Shinobi" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/sonarr-v5-install.sh b/install/sonarr-v5-install.sh index 2152a929..9eb09159 100644 --- a/install/sonarr-v5-install.sh +++ b/install/sonarr-v5-install.sh @@ -92,10 +92,10 @@ $STD apt-get -o Dpkg::Options::="--force-confold" install -y sonarr msg_ok "Installed Sonarr" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/syncthing-v5-install.sh b/install/syncthing-v5-install.sh index 4fb4f35b..f362c31e 100644 --- a/install/syncthing-v5-install.sh +++ b/install/syncthing-v5-install.sh @@ -95,10 +95,10 @@ systemctl restart syncthing@root.service msg_ok "Installed Syncthing" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/tdarr-v5-install.sh b/install/tdarr-v5-install.sh index 0604dd72..13bfa0a3 100644 --- a/install/tdarr-v5-install.sh +++ b/install/tdarr-v5-install.sh @@ -138,10 +138,10 @@ systemctl enable --now -q tdarr-node.service msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/technitiumdns-v5-install.sh b/install/technitiumdns-v5-install.sh index cb536f2e..079875b9 100644 --- a/install/technitiumdns-v5-install.sh +++ b/install/technitiumdns-v5-install.sh @@ -90,10 +90,10 @@ $STD bash <(curl -fsSL https://download.technitium.com/dns/install.sh) msg_ok "Installed Technitium DNS" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/transmission-v5-install.sh b/install/transmission-v5-install.sh index 44f1c40a..29e86c90 100644 --- a/install/transmission-v5-install.sh +++ b/install/transmission-v5-install.sh @@ -90,10 +90,10 @@ systemctl start transmission-daemon msg_ok "Installed Transmission" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/trilium-v5-install.sh b/install/trilium-v5-install.sh index 936eac73..a2fa2f92 100644 --- a/install/trilium-v5-install.sh +++ b/install/trilium-v5-install.sh @@ -112,10 +112,10 @@ systemctl enable --now -q trilium msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/ubuntu-v5-install.sh b/install/ubuntu-v5-install.sh index 051e6554..6547ca36 100644 --- a/install/ubuntu-v5-install.sh +++ b/install/ubuntu-v5-install.sh @@ -71,6 +71,12 @@ RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }') if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi set -e +CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }') +cat </etc/apt/sources.list +deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main +deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main +EOF + msg_info "Updating Container OS" $STD apt-get update $STD apt-get -y upgrade @@ -79,14 +85,13 @@ msg_ok "Updated Container OS" msg_info "Installing Dependencies" $STD apt-get install -y curl $STD apt-get install -y sudo -$STD apt-get install -y mc msg_ok "Installed Dependencies" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/umbrel-v5-install.sh b/install/umbrel-v5-install.sh index e07e745a..2d6cab06 100644 --- a/install/umbrel-v5-install.sh +++ b/install/umbrel-v5-install.sh @@ -101,10 +101,10 @@ $STD systemctl enable --now umbrel-startup.service msg_ok "Installed Umbrel" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/unifi-v5-install.sh b/install/unifi-v5-install.sh index fa1c90ea..3b30be60 100644 --- a/install/unifi-v5-install.sh +++ b/install/unifi-v5-install.sh @@ -96,10 +96,10 @@ $STD bash unifi-latest.sh --skip --add-repository $LOCAL msg_ok "Installed UniFi Network Application" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/uptimekuma-v5-install.sh b/install/uptimekuma-v5-install.sh index d53bacc8..eb4debfa 100644 --- a/install/uptimekuma-v5-install.sh +++ b/install/uptimekuma-v5-install.sh @@ -116,10 +116,10 @@ $STD systemctl enable --now uptime-kuma.service msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/vaultwarden-v5-install.sh b/install/vaultwarden-v5-install.sh index 1421be40..91de64ff 100644 --- a/install/vaultwarden-v5-install.sh +++ b/install/vaultwarden-v5-install.sh @@ -173,10 +173,10 @@ $STD systemctl enable --now vaultwarden.service msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/whisparr-v5-install.sh b/install/whisparr-v5-install.sh index c07df625..90ff1a86 100644 --- a/install/whisparr-v5-install.sh +++ b/install/whisparr-v5-install.sh @@ -111,10 +111,10 @@ systemctl enable --now -q whisparr msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/whoogle-v5-install.sh b/install/whoogle-v5-install.sh index 2d3e996d..8b04e690 100644 --- a/install/whoogle-v5-install.sh +++ b/install/whoogle-v5-install.sh @@ -105,10 +105,10 @@ $STD systemctl enable --now whoogle.service msg_ok "Installed Whoogle" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/wikijs-v5-install.sh b/install/wikijs-v5-install.sh index 36f48110..6207a120 100644 --- a/install/wikijs-v5-install.sh +++ b/install/wikijs-v5-install.sh @@ -133,10 +133,10 @@ $STD systemctl enable --now wikijs msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/wireguard-v5-install.sh b/install/wireguard-v5-install.sh index 95598151..57a2405e 100644 --- a/install/wireguard-v5-install.sh +++ b/install/wireguard-v5-install.sh @@ -105,10 +105,10 @@ $STD bash <(curl -fsSL https://install.pivpn.io) --unattended options.conf msg_ok "Installed WireGuard" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/yunohost-v5-install.sh b/install/yunohost-v5-install.sh index 912136e7..784492db 100644 --- a/install/yunohost-v5-install.sh +++ b/install/yunohost-v5-install.sh @@ -92,10 +92,10 @@ $STD bash <(curl -fsSL https://install.yunohost.org) -a msg_ok "Installed YunoHost" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/zigbee2mqtt-v5-install.sh b/install/zigbee2mqtt-v5-install.sh index c24062c9..1b229424 100644 --- a/install/zigbee2mqtt-v5-install.sh +++ b/install/zigbee2mqtt-v5-install.sh @@ -132,10 +132,10 @@ $STD systemctl enable zigbee2mqtt.service msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE diff --git a/install/zwave-js-ui-v5-install.sh b/install/zwave-js-ui-v5-install.sh index 02e5b65e..0d2e7530 100644 --- a/install/zwave-js-ui-v5-install.sh +++ b/install/zwave-js-ui-v5-install.sh @@ -108,10 +108,10 @@ $STD systemctl enable zwave-js-ui msg_ok "Created Service" echo "export TERM='xterm-256color'" >>/root/.bashrc +echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd +chmod -x /etc/update-motd.d/* if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" -if [ "$PCT_OSTYPE" == "debian" ]; then rm -rf /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi - touch ~/.hushlogin GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" mkdir -p $(dirname $GETTY_OVERRIDE) cat <$GETTY_OVERRIDE