This PR gets Master up to date with the common scripts approach. These are not done but this seems far enough along to proceed. We'll now move forward with refining these common scripts along with the dev scenario scripts that reference them.
29 lines
985 B
PowerShell
29 lines
985 B
PowerShell
|
|
choco install -y Microsoft-Windows-Subsystem-Linux -source windowsfeatures
|
|
choco install -y Microsoft-Hyper-V-All -source windowsFeatures
|
|
Enable-WindowsOptionalFeature -Online -NoRestart -FeatureName Microsoft-Windows-Subsystem-Linux
|
|
Enable-WindowsOptionalFeature -Online -NoRestart -FeatureName Microsoft-Hyper-V
|
|
choco install -y docker-for-windows
|
|
choco install -y vscode-docker
|
|
|
|
|
|
#--- Ubuntu ---
|
|
Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile ~/Ubuntu.appx -UseBasicParsing
|
|
Add-AppxPackage -Path ~/Ubuntu.appx
|
|
|
|
<#
|
|
#--- SLES ---
|
|
# Install SLES Store app
|
|
Invoke-WebRequest -Uri https://aka.ms/wsl-sles-12 -OutFile ~/SLES.appx -UseBasicParsing
|
|
Add-AppxPackage -Path ~/SLES.appx
|
|
# Launch SLES
|
|
sles-12.exe
|
|
|
|
# --- openSUSE ---
|
|
Invoke-WebRequest -Uri https://aka.ms/wsl-opensuse-42 -OutFile ~/openSUSE.appx -UseBasicParsing
|
|
Add-AppxPackage -Path ~/openSUSE.appx
|
|
# Launch openSUSE
|
|
opensuse-42.exe
|
|
#>
|
|
|
|
# TODO: add tool installation inside Ubuntu |