Install tools in WSL, starting with just the ML recipe (#68)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
|
||||
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
|
||||
# alternative to above: Enable-WindowsOptionalFeature -Online -NoRestart -FeatureName Microsoft-Windows-Subsystem-Linux
|
||||
# alternative to above: Enable-WindowsOptionalFeature -Online -NoRestart -FeatureName Microsoft-Hyper-V
|
||||
choco install -y docker-for-windows
|
||||
choco install -y vscode-docker
|
||||
|
||||
@@ -10,10 +10,12 @@ 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
|
||||
# run the distro once and have it install locally with a blank root user
|
||||
Ubuntu1804 install --root
|
||||
|
||||
<#
|
||||
NOTE: Other distros can be scripted the same way for example:
|
||||
|
||||
#--- SLES ---
|
||||
# Install SLES Store app
|
||||
Invoke-WebRequest -Uri https://aka.ms/wsl-sles-12 -OutFile ~/SLES.appx -UseBasicParsing
|
||||
@@ -27,5 +29,3 @@ Add-AppxPackage -Path ~/openSUSE.appx
|
||||
# Launch openSUSE
|
||||
opensuse-42.exe
|
||||
#>
|
||||
|
||||
# TODO: add tool installation inside Ubuntu
|
||||
Reference in New Issue
Block a user