Browse Source

Update debian-install.sh

tteckster 3 năm trước cách đây
mục cha
commit
8ea19e2b15
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      setup/debian-install.sh

+ 1 - 2
setup/debian-install.sh

@@ -53,8 +53,7 @@ msg_ok "Installed Dependencies"
 PASS=$(grep -w "root" /etc/shadow | cut -b6);
   if [[ $PASS != $ ]]; then
 msg_info "Customizing Container"
-rm /etc/motd
-rm /etc/update-motd.d/10-uname
+chmod -x /etc/update-motd.d/*
 touch ~/.hushlogin
 GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
 mkdir -p $(dirname $GETTY_OVERRIDE)