mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-18 04:21:17 +00:00
Update gamuntu-install.sh
This commit is contained in:
parent
e4e8514ec7
commit
c90531ecda
@ -110,8 +110,7 @@ echo -e "${CM}${CL} \r"
|
|||||||
PASS=$(grep -w "root" /etc/shadow | cut -b6);
|
PASS=$(grep -w "root" /etc/shadow | cut -b6);
|
||||||
if [[ $PASS != $ ]]; then
|
if [[ $PASS != $ ]]; then
|
||||||
echo -en "${GN} Customizing Container... "
|
echo -en "${GN} Customizing Container... "
|
||||||
rm /etc/motd
|
chmod -x /etc/update-motd.d/*
|
||||||
rm /etc/update-motd.d/10-uname
|
|
||||||
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"
|
||||||
mkdir -p $(dirname $GETTY_OVERRIDE)
|
mkdir -p $(dirname $GETTY_OVERRIDE)
|
||||||
|
Loading…
Reference in New Issue
Block a user