Skip to content

Instantly share code, notes, and snippets.

@diegograssato
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diegograssato/a0b42f0ea1321f5a6ff1 to your computer and use it in GitHub Desktop.
Save diegograssato/a0b42f0ea1321f5a6ff1 to your computer and use it in GitHub Desktop.
Vagrantfile - FreeBSD
Vagrantfile
# -*- mode: ruby; -*-
Vagrant.configure("2") do |config|
config.vm.guest = :freebsd
config.vm.box_url = "http://files.wunki.org/freebsd-10.0-amd64-wunki.box"
config.vm.box = "freebsd-10.0-amd64-wunki"
config.vm.network "private_network", ip: "10.0.1.10"
# Use NFS as a shared folder
config.vm.synced_folder ".", "/vagrant", :nfs => true, id: "vagrant-root"
config.vm.provider :virtualbox do |vb|
# vb.customize ["startvm", :id, "--type", "gui"]
vb.customize ["modifyvm", :id, "--memory", "512"]
vb.customize ["modifyvm", :id, "--cpus", "2"]
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