diff --git a/Vagrantfile b/Vagrantfile index 46d6882e5..36a44e44f 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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'