-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathVagrantfile
More file actions
20 lines (18 loc) · 677 Bytes
/
Vagrantfile
File metadata and controls
20 lines (18 loc) · 677 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "phonetworks/xenial-pho"
config.vm.box_version = ">= 2.2.0"
config.vm.synced_folder "./", "/opt/pho-cli"
config.vm.provision :shell, path: "bin/bootstrap.sh"
## in case of network connectivity issues
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
end
config.vm.provider "virtualbox" do |v|
v.memory = 1024
end
config.vm.network "forwarded_port", guest: 1337, host: 8000, auto_correct: true
end