Set CONFIG_MODULE
to full path by default
This commit is contained in:
parent
e10a91094e
commit
b37815498a
|
@ -18,8 +18,13 @@ $null = New-Module {
|
||||||
Finishes the installation of a running Windows machine.
|
Finishes the installation of a running Windows machine.
|
||||||
#>
|
#>
|
||||||
function Start-WindowsInstallation {
|
function Start-WindowsInstallation {
|
||||||
$env:WSLENV = "CONFIG_MODULE/p";
|
|
||||||
$ErrorActionPreference = 'Inquire';
|
$ErrorActionPreference = 'Inquire';
|
||||||
|
$env:WSLENV = "CONFIG_MODULE/p";
|
||||||
|
|
||||||
|
if ($env:CONFIG_MODULE) {
|
||||||
|
$env:CONFIG_MODULE = Resolve-Path $env:CONFIG_MODULE;
|
||||||
|
}
|
||||||
|
|
||||||
Start-InstallationLoop;
|
Start-InstallationLoop;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue