Last active
August 29, 2015 14:02
-
-
Save diegograssato/a0b42f0ea1321f5a6ff1 to your computer and use it in GitHub Desktop.
Vagrantfile - FreeBSD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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