diff --git a/scripts/HyperV.ps1 b/scripts/HyperV.ps1 index 1350cd3..246b18f 100644 --- a/scripts/HyperV.ps1 +++ b/scripts/HyperV.ps1 @@ -1 +1,2 @@ -choco install -y Microsoft-Hyper-V-All --source="'windowsFeatures'" +# choco install -y Microsoft-Hyper-V-All --source="'windowsFeatures'" +Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V diff --git a/scripts/WSL.ps1 b/scripts/WSL.ps1 index 190372b..6acbba7 100644 --- a/scripts/WSL.ps1 +++ b/scripts/WSL.ps1 @@ -1,13 +1,14 @@ # choco install -y Microsoft-Windows-Subsystem-Linux --source="'windowsfeatures'" -Enable-WindowsOptionalFeature -Online -NoRestart -FeatureName Microsoft-Windows-Subsystem-Linux +Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux +RefreshEnv #--- Ubuntu --- # TODO: Move this to choco install once --root is included in that package Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1804 -OutFile ~/Ubuntu.appx -UseBasicParsing Add-AppxPackage -Path ~/Ubuntu.appx -# run the distro once and have it install locally with root user, unset password - RefreshEnv + +# run the distro once and have it install locally with root user, unset password Ubuntu1804 install --root Ubuntu1804 run apt update Ubuntu1804 run apt upgrade -y