mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-26 23:11:56 +00:00
Update install.func
tweak
This commit is contained in:
parent
c72b91a4ad
commit
ad8d7fce24
@ -84,6 +84,7 @@ setting_up_container() {
|
||||
exit 1
|
||||
fi
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
$STD systemctl disable systemd-networkd-wait-online.service
|
||||
msg_ok "Set up Container OS"
|
||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
|
||||
}
|
||||
@ -125,9 +126,6 @@ motd_ssh() {
|
||||
sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config
|
||||
systemctl restart sshd
|
||||
fi
|
||||
if [[ "$PCT_OSVERSION" == "12" ]]; then
|
||||
$STD systemctl disable systemd-networkd-wait-online.service
|
||||
fi
|
||||
}
|
||||
|
||||
# This function customizes the container by modifying the getty service and enabling auto-login for the root user
|
||||
|
Loading…
Reference in New Issue
Block a user