Reboot before creating users

This commit is contained in:
Manuel Thalmann 2024-09-12 19:04:48 +02:00
parent ad4e6e45a1
commit 93ceb7d9f4

View file

@ -133,6 +133,8 @@ $null = New-Module {
Write-Host "Entering install phase"; Write-Host "Entering install phase";
Deploy-SoftwareAction; Deploy-SoftwareAction;
Set-SetupStage ([SetupStage]::CreateUser); Set-SetupStage ([SetupStage]::CreateUser);
Restart-Intermediate;
return;
} }
([SetupStage]::CreateUser) { ([SetupStage]::CreateUser) {
Install-ValhallaUsers; Install-ValhallaUsers;