Set shell to sh and networking to host dhcp

Set shell to sh which is present by default on freebsd. Also set
networking to host dhcp due to limitations with NFS sharing:
https://github.com/hashicorp/vagrant/issues/9063
This commit is contained in:
Robert James Hernandez 2019-03-13 20:58:25 -07:00
parent 754f11d799
commit 0dec6fa13c
1 changed files with 2 additions and 1 deletions

3
Vagrantfile vendored
View File

@ -49,9 +49,10 @@ Vagrant.configure(2) do |config|
config.vm.define "freebsd", autostart: false, primary: false do |vmCfg|
vmCfg.vm.box = FREEBSD_BASE_BOX
vmCfg.vm.hostname = "freebsd"
vmCfg.ssh.shell = "sh"
vmCfg = configureProviders vmCfg,
cpus: suggestedCPUCores()
vmCfg.vm.network "private_network", type: "dhcp"
vmCfg.vm.synced_folder '.',
'/opt/gopath/src/github.com/hashicorp/nomad',
type: "nfs",