From 59110997d51a2d4d1bd3ba0605da841ceb52fdcf Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 17 Jun 2023 18:30:05 -0400 Subject: [PATCH] Update install.func Tweak for Debian 12 --- misc/install.func | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/install.func b/misc/install.func index ca112b9e..34b3d07d 100644 --- a/misc/install.func +++ b/misc/install.func @@ -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