fix: set -e dans install.sh, DNS DHCP standalone, loginShellInit

This commit is contained in:
2026-09-09 10:03:58 +02:00
parent dd2f9cd665
commit 213ba07cfe
3 changed files with 15 additions and 6 deletions
+2 -2
View File
@@ -40,8 +40,8 @@ in
services.getty.autologinUser = lib.mkForce "root";
users.users.root.password = lib.mkForce "";
environment.etc."profile.d/00-fleet-installer.sh".text = ''
if [ "$(tty)" = "/dev/tty1" ] && [ -z "$FLEET_INSTALLER_RAN" ]; then
programs.bash.loginShellInit = ''
if [ "$(tty)" = "/dev/tty1" ] && [ -z "''${FLEET_INSTALLER_RAN:-}" ]; then
export FLEET_INSTALLER_RAN=1
${installScript}/bin/fleet-install
fi