Compare commits

..

1 Commits

Author SHA1 Message Date
7292778a25 Add Windows Powershell bootstrap 2022-06-11 11:52:57 +01:00

View File

@ -3,13 +3,12 @@ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManage
# Enable Hyper-V and containters # Enable Hyper-V and containters
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Enable-WindowsOptionalFeature -Online -FeatureName Containers -All Enable-WindowsOptionalFeature -Online -FeatureName containers All
# Install OpenSSH, generate keys and authorize them # Install OpenSSH, generate keys and authorize them
choco install "--package-parameters=/SSHServerFeature" openssh choco install '--package-parameters=/SSHServerFeature' openssh
# TODO: Ask for email address to use, make sshKeyType optional # TODO: Ask for email address to use
$sshKeyType = "ed25519" ssh-keygen.exe -t ed25519 -C benie@infektor.net
ssh-keygen -t "$sshKeyType" -C "benie@infektor.net" -N '' -f "$env:USERPROFILE/.ssh/$sshKeyType"
# Install Windows-Terminal and Debian # Install Windows-Terminal and Debian
choco install microsoft-windows-terminal choco install microsoft-windows-terminal