From ad8d7fce242d520f8a85765bb07ad4fc858b6692 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 25 Jun 2023 00:31:16 -0400 Subject: [PATCH] Update install.func tweak --- misc/install.func | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/misc/install.func b/misc/install.func index 4d044af3..11fc647c 100644 --- a/misc/install.func +++ b/misc/install.func @@ -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