This repository was archived by the owner on Feb 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathVagrantfile
More file actions
38 lines (29 loc) · 1.38 KB
/
Vagrantfile
File metadata and controls
38 lines (29 loc) · 1.38 KB
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
require File.dirname(__FILE__) + "/vagrant/addons/dependency_manager"
check_plugins ["vagrant-exec", "vagrant-hostmanager", "vagrant-triggers"]
Vagrant.configure("2") do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "ubuntu/xenial64"
# set ip address to 192.168.90.09
config.vm.network "private_network", ip: "192.168.90.9", hostsupdater: "skip"
# set hostname
config.vm.hostname = "guildmud.dev"
# setup hostmanager
config.hostmanager.enabled = true
config.hostmanager.manage_host = true
config.hostmanager.manage_guest = true
config.hostmanager.ignore_private_ip = false
config.hostmanager.include_offline = true
# install packages
config.vm.provision "shell", path: "vagrant/provisioners/home.sh"
config.vm.provision "shell", path: "vagrant/provisioners/c.sh"
config.vm.provision "shell", path: "vagrant/provisioners/sqlite.sh"
config.vm.provision "shell", path: "vagrant/provisioners/check.sh"
config.vm.provision "shell", path: "vagrant/provisioners/expect.sh"
# make /vagrant the working directory for all commands
config.exec.commands '*', directory: '/vagrant'
end