mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	code optimization (#1025)
- remove mc from Ubuntu - change archive mirrors for Ubuntu - small tweaks
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >/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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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"
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >/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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
@@ -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 <<EOF >$GETTY_OVERRIDE
 | 
			
		||||
 
 | 
			
		||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user