Browse Source

Update ubuntu_setup.sh

tteckster 3 năm trước cách đây
mục cha
commit
afc52f825c
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      setup/ubuntu_setup.sh

+ 1 - 3
setup/ubuntu_setup.sh

@@ -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/*