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:
parent
754f11d799
commit
0dec6fa13c
|
@ -49,9 +49,10 @@ Vagrant.configure(2) do |config|
|
||||||
config.vm.define "freebsd", autostart: false, primary: false do |vmCfg|
|
config.vm.define "freebsd", autostart: false, primary: false do |vmCfg|
|
||||||
vmCfg.vm.box = FREEBSD_BASE_BOX
|
vmCfg.vm.box = FREEBSD_BASE_BOX
|
||||||
vmCfg.vm.hostname = "freebsd"
|
vmCfg.vm.hostname = "freebsd"
|
||||||
|
vmCfg.ssh.shell = "sh"
|
||||||
vmCfg = configureProviders vmCfg,
|
vmCfg = configureProviders vmCfg,
|
||||||
cpus: suggestedCPUCores()
|
cpus: suggestedCPUCores()
|
||||||
|
vmCfg.vm.network "private_network", type: "dhcp"
|
||||||
vmCfg.vm.synced_folder '.',
|
vmCfg.vm.synced_folder '.',
|
||||||
'/opt/gopath/src/github.com/hashicorp/nomad',
|
'/opt/gopath/src/github.com/hashicorp/nomad',
|
||||||
type: "nfs",
|
type: "nfs",
|
||||||
|
|
Loading…
Reference in New Issue