|
|
@ -26,8 +26,6 @@ function msg() {
|
|
|
|
echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m"
|
|
|
|
echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m"
|
|
|
|
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
|
|
|
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
|
|
|
locale-gen >/dev/null
|
|
|
|
locale-gen >/dev/null
|
|
|
|
apt-get -y purge openssh-{client,server} >/dev/null
|
|
|
|
|
|
|
|
apt-get autoremove >/dev/null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo -e "${CHECKMARK} \e[1;92m Updating Container OS \e[0m"
|
|
|
|
echo -e "${CHECKMARK} \e[1;92m Updating Container OS \e[0m"
|
|
|
|
apt update &>/dev/null
|
|
|
|
apt update &>/dev/null
|
|
|
@ -52,4 +50,4 @@ systemctl daemon-reload
|
|
|
|
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
|
|
|
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
|
|
|
|
|
|
|
|
|
|
|
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
|
|
|
|
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
|
|
|
|
rm -rf /ubuntu_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
|
|
|
rm -rf /ubuntu_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
|
|
|