File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .vagrant /
Original file line number Diff line number Diff line change 1+ # -*- mode: ruby -*-
2+ # vi: set ft=ruby :
3+
4+ Vagrant . configure ( "2" ) do |config |
5+ config . vm . box = "gusztavvargadr/windows-server-2025-standard-core"
6+
7+ config . vm . provider "virtualbox" do |vb |
8+ vb . memory = "8192"
9+ vb . cpus = 4
10+ end
11+
12+ config . vm . provision "shell" , path : "install.ps1"
13+ end
Original file line number Diff line number Diff line change 1+ # Mark the network profile as private, so inbound connections (e.g. SSH) work correctly
2+ Get-NetConnectionProfile - Name Network | Set-NetConnectionProfile - NetworkCategory Private
3+
4+ # Because the Vagrant user has Administrator privileges, the authorized keys are stored in
5+ # C:\ProgramData\ssh\administrators_authorized_keys
6+ copy " C:\Users\vagrant\.ssh\authorized_keys" " C:\ProgramData\ssh\administrators_authorized_keys"
7+
8+ # Install Chocolatey
9+ iex ((New-Object System.Net.WebClient).DownloadString(' https://community.chocolatey.org/install.ps1' ))
10+
11+ # Install LLVM
12+ choco install - y llvm
13+
14+ # Install the Visual Studio 2022 build tools, and then add the C++ build tools workload
15+ choco install - y visualstudio2022buildtools
16+ choco install - y visualstudio2022- workload- vctools
17+
18+ # Install git
19+ choco install - y git
20+ git config -- global credential.credentialStore dpapi
21+
22+ # Install Conan
23+ choco install - y conan
24+
25+ # Install Cmake, ninja
26+ choco install - y cmake ninja
You can’t perform that action at this time.
0 commit comments