Add a stage for creating users
This commit is contained in:
parent
198e984bcd
commit
995959f958
|
@ -6,6 +6,7 @@ enum SetupStage {
|
|||
Initialize
|
||||
Configure
|
||||
Install
|
||||
CreateUser
|
||||
}
|
||||
|
||||
$null = New-Module {
|
||||
|
|
|
@ -403,6 +403,9 @@ $null = New-Module {
|
|||
([SetupStage]::Install) {
|
||||
Write-Host "Entering install phase";
|
||||
Deploy-SoftwareAction;
|
||||
Set-Stage ([SetupStage]::CreateUser);
|
||||
}
|
||||
([SetupStage]::CreateUser) {
|
||||
Set-IsFinished $true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue