mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
add rm options
This commit is contained in:
parent
a5b50d9d45
commit
351161bc83
78 changed files with 78 additions and 78 deletions
|
@ -215,7 +215,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
|
|||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
if [ "$OS" == "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"
|
||||
mkdir -p $(dirname $GETTY_OVERRIDE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue