Reboot before creating users

This commit is contained in:
Manuel Thalmann 2024-09-12 19:04:48 +02:00
parent 3bf64ff7e5
commit 81c06bf5e0

View file

@ -134,6 +134,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;