-
Notifications
You must be signed in to change notification settings - Fork 2
/
Vagrantfile
36 lines (26 loc) · 952 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- mode: ruby -*-
# vi: set ft=ruby :
vm_name = "jumpstart-vm"
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/jammy64"
config.vm.box_version = "20231018.0.0"
config.vm.disk :disk, size: "64GB", primary: true
config.vm.network "private_network", type: "dhcp"
config.ssh.forward_agent = true
config.ssh.forward_x11 = true
config.vm.provider "virtualbox" do |vb|
vb.name = vm_name
vb.memory = "4096"
vb.cpus = 2
vb.customize ["modifyvm", :id, "--cpuexecutioncap", "90"]
vb.customize ["modifyvm", :id, "--spec-ctrl", "on"]
vb.customize ["modifyvm", :id, "--accelerate3d", "off"]
vb.customize ["modifyvm", :id, "--graphicscontroller", "vmsvga"]
vb.customize ["modifyvm", :id, "--clipboard-mode", "bidirectional"]
end
config.vm.hostname = vm_name
config.vm.synced_folder ".", "/vagrant"
config.vm.provision "shell",
inline: "/vagrant/provision.sh",
privileged: false
end