From 54d9f41a6d7e01145e33f8533ffae38374aa2f45 Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 18 Apr 2021 00:55:01 +0200 Subject: [PATCH] autounattend: use ForceShutdownNow instead of FirstLogonCommands shutdown this moves the return a little earlier in the installation process. it is less of a hack, and less problematic with custom `defaultUser` settings. --- wfvm/autounattend.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/wfvm/autounattend.nix b/wfvm/autounattend.nix index 94bf34a..a903133 100644 --- a/wfvm/autounattend.nix +++ b/wfvm/autounattend.nix @@ -275,14 +275,12 @@ let ''} - - - 1 - cmd /C shutdown /s /f /t 00 - ChangeHideFiles - - - + + + + true + OOBE +