mirror of https://github.com/tteck/Proxmox.git
Update debian-v5-install.sh
This commit is contained in:
parent
8ad4e6a30c
commit
1cc8375031
|
@ -87,7 +87,7 @@ msg_ok "Installed Dependencies"
|
||||||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||||
msg_info "Customizing Container"
|
msg_info "Customizing Container"
|
||||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
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 /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||||
touch ~/.hushlogin
|
touch ~/.hushlogin
|
||||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||||
|
|
Loading…
Reference in New Issue