-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
32 lines (24 loc) · 944 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.require_version ">= 1.4.3"
source = ""
memory = 4096
version = "1.2.1"
cpus = 2
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider :virtualbox do |vb|
vb.name = "vagrant_lua"
vb.memory = memory
vb.cpus = cpus
vb.customize ["guestproperty", "set", :id, "/VirtualBox/GuestAdd/VBoxService/ — timesync-set-threshold", 10000]
end
config.vm.box = "ubuntu/bionic64"
config.vm.synced_folder source, "/lua"
####################################################################
# add the network fowarded port here #
# ex: config.vm.network "forwarded_port", guest: 15672, host: 8080 #
####################################################################
# config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.provision "shell", path: "provision.sh"
end