# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = "peru/windows-10-enterprise-x64-eval" config.vm.provider "libvirt" do |libvirt| libvirt.memory = 8192 libvirt.cpus = 4 end config.vm.provision "shell", inline: <<-SHELL # Install Chocolatey if not already installed if (-not (Get-Command choco -ErrorAction SilentlyContinue)) { Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) } # Install Java 17 choco install openjdk17 -y # Installing PowerPoint via Chocolatey is not straightforward # as it requires the Office Deployment Tool (ODT) and a configuration.xml file. # This section can be expanded to use ODT for an automated installation. # For now, this step is manual. Write-Host "Please install Microsoft PowerPoint manually or configure the Office Deployment Tool." SHELL end