code optimization (#1025)

- remove mc from Ubuntu
- change archive mirrors for Ubuntu
- small tweaks
This commit is contained in:
tteckster 2023-02-06 09:36:01 -05:00 committed by GitHub
parent 474903d5af
commit eeced862da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
161 changed files with 295 additions and 175 deletions

View file

@ -370,6 +370,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -349,6 +349,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -348,6 +348,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -362,6 +362,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -363,6 +363,7 @@ TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export ST=$FUSE export ST=$FUSE
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -352,6 +352,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -400,6 +400,7 @@ TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export SERV=$SERVER export SERV=$SERVER
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -379,6 +379,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -348,6 +348,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -354,6 +354,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -349,6 +349,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -348,6 +348,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -360,6 +360,7 @@ TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export ST=$FUSE export ST=$FUSE
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -372,6 +372,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -352,6 +352,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -359,6 +359,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -352,6 +352,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -432,6 +432,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -427,6 +427,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -428,6 +428,7 @@ TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export ST=$FUSE export ST=$FUSE
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -359,6 +359,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -372,6 +372,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -354,6 +354,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -362,6 +362,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -351,6 +351,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -354,6 +354,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -348,6 +348,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -355,6 +355,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -352,6 +352,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -364,6 +364,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -462,6 +462,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -356,6 +356,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -389,6 +389,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -351,6 +351,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -354,6 +354,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -354,6 +354,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -421,6 +421,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -374,6 +374,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -372,6 +372,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -403,6 +403,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -348,6 +348,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -348,6 +348,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -348,6 +348,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -354,6 +354,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -348,6 +348,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -354,6 +354,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -363,6 +363,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -348,6 +348,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -354,6 +354,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -348,6 +348,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -415,6 +415,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -348,6 +348,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -372,6 +372,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -356,6 +356,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -361,6 +361,7 @@ TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export ST=$FUSE export ST=$FUSE
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -353,6 +353,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -370,6 +370,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -421,6 +421,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -349,6 +349,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -352,6 +352,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -366,6 +366,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -408,6 +408,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -348,6 +348,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -399,6 +399,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -366,6 +366,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6 export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP
export VERBOSE=$VERB export VERBOSE=$VERB
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}
export CTID=$CT_ID export CTID=$CT_ID

View file

@ -92,10 +92,10 @@ rm install.sh
msg_ok "Installed AdGuard Home" msg_ok "Installed AdGuard Home"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -90,10 +90,10 @@ $STD apt install audiobookshelf
msg_ok "Installed audiobookshelf" msg_ok "Installed audiobookshelf"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -111,10 +111,10 @@ systemctl enable --now -q autobrr.service
msg_ok "Created Service" msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -344,10 +344,10 @@ $STD systemctl enable --now blocky
msg_ok "Created Service" msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -100,10 +100,10 @@ $STD bash <(curl -fsSL https://get.casaos.io)
msg_ok "Installed CasaOS" msg_ok "Installed CasaOS"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -104,10 +104,10 @@ $STD systemctl enable --now changedetection
msg_ok "Created Service" msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -110,10 +110,10 @@ $STD update-rc.d cronicled defaults
msg_ok "Installed Cronicle Primary Server" msg_ok "Installed Cronicle Primary Server"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -89,10 +89,10 @@ $STD dpkg -i daemonsync_2.2.0.0059_amd64.deb
msg_ok "Installed Daemon Sync Server" msg_ok "Installed Daemon Sync Server"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -120,10 +120,10 @@ systemctl start dashy
msg_ok "Created Service" msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -82,10 +82,10 @@ $STD apt-get install -y mc
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -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 if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
set -e 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" msg_info "Updating Container OS"
$STD apt-get update $STD apt-get update
$STD apt-get -y upgrade $STD apt-get -y upgrade
@ -79,7 +85,6 @@ msg_ok "Updated Container OS"
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl $STD apt-get install -y curl
$STD apt-get install -y sudo $STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
@ -113,10 +118,10 @@ $STD systemctl enable --now deconz
msg_ok "Created Service" msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -127,10 +127,10 @@ systemctl enable --now -q deluge-web.service
msg_ok "Created Service" msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -80,6 +80,8 @@ $STD apt-get install -y mc
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 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" msg_info "Cleaning up"

View file

@ -144,10 +144,10 @@ if [[ $DOCKER_COMPOSE == "Y" ]]; then
fi fi
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -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 if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
set -e 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" msg_info "Updating Container OS"
$STD apt-get update $STD apt-get update
$STD apt-get -y upgrade $STD apt-get -y upgrade
@ -79,7 +85,6 @@ msg_ok "Updated Container OS"
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl $STD apt-get install -y curl
$STD apt-get install -y sudo $STD apt-get install -y sudo
$STD apt-get install -y mc
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
if [[ -z "$(grep -w "100000" /proc/self/uid_map)" ]]; then 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" msg_ok "Installed Emby"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -88,10 +88,10 @@ $STD systemctl enable --now emqx
msg_ok "Installed EMQX" msg_ok "Installed EMQX"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -109,10 +109,10 @@ systemctl start esphomeDashboard
msg_ok "Installed ESPHome Dashboard" msg_ok "Installed ESPHome Dashboard"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

View file

@ -96,10 +96,10 @@ $STD apt-get install -y grafana
msg_ok "Installed Grafana" msg_ok "Installed Grafana"
echo "export TERM='xterm-256color'" >>/root/.bashrc 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 if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container" 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" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)
cat <<EOF >$GETTY_OVERRIDE cat <<EOF >$GETTY_OVERRIDE

Some files were not shown because too many files have changed in this diff Show more