Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vagrant.configure("2") do |config|
- config.vm.define :bsd_vm do |bsd_vm|
- bsd_vm.vm.box = "opscode_freebsd-10.1"
- bsd_vm.vm.network :private_network,
- :ip => '10.0.0.67'
- bsd_vm.vm.synced_folder ".", "/vagrant", disabled: true
- ## Domain Specific Options
- bsd_vm.vm.provider :libvirt do |domain|
- domain.memory = 8192
- domain.cpus = 4
- #This is what enables the nested VMs
- domain.nested = true
- domain.driver = "kvm"
- #This does not work:
- #domain.audio = "none"
- end #Domain options
- config.vm.provision "chef_zero" do |chef|
- # Specify the local paths where Chef data is stored
- chef.cookbooks_path = "cookbooks"
- chef.roles_path = "roles"
- chef.nodes_path = "nodes"
- end
- end #config.vm.define :bsd_vm do |bsd_vm|
- #BSD uses /bin/sh not bash by default.
- config.ssh.shell= "/bin/sh"
- end #Vagrant.configure(2) do |config|
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement