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