fix: set -e dans install.sh, DNS DHCP standalone, loginShellInit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user