* move to Ubuntu 18 * created two ML recipes * using update-sessionenvironmnet instead of refreshenv * discover helper script URI rather than hardcode it * fixing readme links to support reboot
31 lines
1007 B
PowerShell
31 lines
1007 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-1804 -OutFile ~/Ubuntu.appx -UseBasicParsing
|
|
Add-AppxPackage -Path ~/Ubuntu.appx
|
|
|
|
# TODO reboot here
|
|
|
|
<#
|
|
#--- 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 |