- Settings -> Windows Update
- Install all updates
- launch Windows Powershell as administrator and execute:
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# This script to install Kubernetes will get executed after we have provisioned the box | |
$script = <<-SCRIPT | |
# Install kubernetes | |
apt-get update && apt-get install -y apt-transport-https | |
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list |
sudo -i
to become rootpecl install swoole
and enable what you need. (I disabled curl as it did not work for me)Clear-Host; | |
# Begin | |
Write-Output "⏲️⏲️⏲️ Starting ⏲️⏲️⏲️" | |
Write-Output ("-" * 50) | |
Write-Output "" | |
# System PATH | |
Write-Output "🖥️ Checking System PATH 🖥️" | |
$TempMachinePath = [System.Environment]::GetEnvironmentVariable("Path", "Machine"); |