Add a stage for creating users
This commit is contained in:
parent
4f9b3f6ecd
commit
3ea2f39ced
|
@ -6,6 +6,7 @@ enum SetupStage {
|
|||
Initialize
|
||||
Configure
|
||||
Install
|
||||
CreateUser
|
||||
}
|
||||
|
||||
$null = New-Module {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue