Merge pull request #4406 from hashicorp/f-ui-vagrant

Seperate ui vagrant
This commit is contained in:
Alex Dadgar 2018-06-11 16:08:01 -07:00 committed by GitHub
commit 8d0538b7c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

16
Vagrantfile vendored
View file

@ -15,6 +15,22 @@ Vagrant.configure(2) do |config|
vmCfg = configureLinuxProvisioners(vmCfg)
vmCfg.vm.synced_folder '.',
'/opt/gopath/src/github.com/hashicorp/nomad'
vmCfg.vm.provision "shell",
privileged: false,
path: './scripts/vagrant-linux-unpriv-bootstrap.sh'
end
config.vm.define "linux-ui", autostart: false, primary: false do |vmCfg|
vmCfg.vm.box = LINUX_BASE_BOX
vmCfg.vm.hostname = "linux"
vmCfg = configureProviders vmCfg,
cpus: suggestedCPUCores()
vmCfg = configureLinuxProvisioners(vmCfg)
vmCfg.vm.synced_folder '.',
'/opt/gopath/src/github.com/hashicorp/nomad'