mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 02:14:34 +01:00
Update ubuntu_setup.sh
This commit is contained in:
parent
8bf0e369c3
commit
afc52f825c
@ -26,8 +26,6 @@ function msg() {
|
||||
echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m"
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
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"
|
||||
apt update &>/dev/null
|
||||
@ -52,4 +50,4 @@ systemctl daemon-reload
|
||||
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
||||
|
||||
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/*
|
||||
|
Loading…
Reference in New Issue
Block a user