-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
25 lines (20 loc) · 1004 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
project_name = "battle-for-hill-218"
# Base box to build off, and download URL for when it doesn't exist on the user's system already
config.vm.box = "ubuntu/xenial64"
config.vm.box_url = "http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-vagrant.box"
config.vm.provider "virtualbox" do |v|
v.name = project_name
v.memory = 1024
v.customize [ "modifyvm", :id, "--uartmode1", "disconnected" ]
end
# Share an additional folder to the guest VM. The first argument is
# an identifier, the second is the path on the guest to mount the
# folder, and the third is the path on the host to the actual folder.
#config.vm.share_folder project_name, "/home/ubuntu/" + project_name, "."
config.vm.synced_folder "./", "/home/vagrant/" + project_name
# Enable provisioning with a shell script.
config.vm.provision :shell, :path => "etc/install.sh", :args => project_name
end