Skip to content

Instantly share code, notes, and snippets.

@charlietango
Created November 29, 2017 09:01
Show Gist options
  • Save charlietango/a9aa0abb0d87f521cff4969bd3748c1b to your computer and use it in GitHub Desktop.
Save charlietango/a9aa0abb0d87f521cff4969bd3748c1b to your computer and use it in GitHub Desktop.
FreeBSD vagrant configuration file
Vagrant.configure("2") do |config|
config.vm.guest = :freebsd
config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: true
config.vm.box = "freebsd/FreeBSD-11.0-CURRENT"
config.ssh.shell = "sh"
config.vm.base_mac = "080027D14C66"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
vb.customize ["modifyvm", :id, "--cpus", "1"]
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
vb.customize ["modifyvm", :id, "--audio", "none"]
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
vb.customize ["modifyvm", :id, "--nictype2", "virtio"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment