Add a stage for creating users

This commit is contained in:
Manuel Thalmann 2024-08-08 04:38:40 +02:00
parent c05c91f21b
commit a4a4ff9afb
2 changed files with 4 additions and 0 deletions

View file

@ -6,6 +6,7 @@ enum SetupStage {
Initialize
Configure
Install
CreateUser
}
$null = New-Module {

View file

@ -402,6 +402,9 @@ $null = New-Module {
([SetupStage]::Install) {
Write-Host "Entering install phase";
Deploy-SoftwareAction;
Set-Stage ([SetupStage]::CreateUser);
}
([SetupStage]::CreateUser) {
Set-IsFinished $true;
}
}