1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-26 10:49:56 +02:00

Update install.func

Tweak for Debian 12
This commit is contained in:
tteckster 2023-06-17 18:30:05 -04:00 committed by GitHub
parent 28f5363737
commit 59110997d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,9 @@ 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