-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVagrantfile
47 lines (34 loc) · 1.2 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Specify Vagrant version and Vagrant API version
Vagrant.require_version ">= 2.0.0"
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Name of Vagrant Box
config.vm.box = "acntech/xubuntu"
# Version of Vagrant Box
config.vm.box_version = "21.10.0"
# Don't generate new SSH key, but use the default insecure key
config.ssh.insert_key = false
config.vm.provider "virtualbox" do |vb|
# Name to display in Virtualbox
vb.name = "AcnTech Xubuntu Developer"
# Display the VirtualBox GUI when booting the machine
vb.gui = true
# Customize CPU count
vb.cpus = "1"
# Customize the amount of memory on the VM
vb.memory = "2048"
# Customize amount of video memory
vb.customize ["modifyvm", :id, "--vram", "128"]
# Disable 3D acceleration
vb.customize ["modifyvm", :id, "--accelerate3d", "off"]
end
# Enable provisioning with puppet
config.vm.provision "puppet" do |puppet|
puppet.environment = "default"
puppet.environment_path = "../provision/puppet/environments"
puppet.module_path = "../provision/puppet/modules"
#puppet.options = "--verbose --debug"
end
end