forked from Mario1159/osic-stacks
Fix parameter remote
This commit is contained in:
parent
933aac42cc
commit
92ee84b78a
@ -19,7 +19,7 @@ There are scripts provided for running the containers for each OS, this is becau
|
||||
|
||||
Execute the next script in powershell.
|
||||
```pwsh
|
||||
iex "& { $(irm https://git.1159.cl/Mario1159/osic-stacks/raw/branch/main/scripts/wsl_start.ps1) } Run Job"
|
||||
& ([scriptblock]::Create((irm https://git.1159.cl/Mario1159/osic-stacks/raw/branch/main/scripts/wsl_start.ps1))) -remote
|
||||
```
|
||||
This script will run the container inside wsl and bind the enviroments variables for [wslg](https://github.com/microsoft/wslg/blob/main/samples/container/Containers.md).
|
||||
|
||||
|
@ -4,7 +4,7 @@ $imagename = Read-Host -Prompt 'Container image to initialize'
|
||||
$containername = Read-Host -Prompt 'Container instance name [default=$imagename]'
|
||||
if (!$containername) { $containername = $imagename }
|
||||
|
||||
if($remote -eq "remote") {
|
||||
if($remote) {
|
||||
$image = "git.1159.cl/mario1159/$imagename"
|
||||
} else {
|
||||
$image = $imagename
|
||||
|
Loading…
Reference in New Issue
Block a user