Reboot before creating users

This commit is contained in:
Manuel Thalmann 2024-09-12 19:04:48 +02:00
parent e1d3191020
commit bfeea8cb21

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;