forked from bigfix/developer.bigfix.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
25 lines (20 loc) · 770 Bytes
/
Vagrantfile
File metadata and controls
25 lines (20 loc) · 770 Bytes
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
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "bento/centos-7.7"
config.vm.network "forwarded_port", guest: 80, host: 4000
config.vm.provider :virtualbox do |vb|
# Increase memory for docker.
vb.customize ['modifyvm', :id, '--memory', 2048]
# Synchronize the guest clock to the host clock more aggressively to avoid
# clock skew issues with make.
vb.customize [
'guestproperty', 'set', :id,
'/VirtualBox/GuestAdd/VBoxService/--timesync-interval', '10000'
]
vb.customize [
'guestproperty', 'set', :id,
'/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold', '500'
]
end
config.vm.provision "shell", path: "scripts/vagrant-provision.sh"
end