* Add WSL

* Move WSL to the end of the provision

* Add elevated_user

* No restart VM

* Add Validation

* Add WSL note in Readme.md

* Rename WSL1 to WSL

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
This commit is contained in:
Sergey Dolin
2020-07-09 11:57:02 +05:00
committed by GitHub
parent 1c22abb30d
commit c6950533af
4 changed files with 42 additions and 1 deletions

View File

@@ -109,6 +109,14 @@
],
"execution_policy": "unrestricted"
},
{
"type": "powershell",
"elevated_user": "SYSTEM",
"elevated_password": "",
"scripts":[
"{{ template_dir }}/scripts/Installers/Windows2019/Install-WSL.ps1"
]
},
{
"type": "powershell",
"scripts":[
@@ -243,6 +251,12 @@
"{{ template_dir }}/scripts/Installers/Validate-Wix.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-WSL.ps1"
]
},
{
"type": "powershell",
"scripts":[
@@ -1062,4 +1076,4 @@
]
}
]
}
}