Created
October 23, 2015 03:50
-
-
Save zentrope/c7c6e254b67d0fac6c07 to your computer and use it in GitHub Desktop.
Vagrant file for FreeBSD on OS X
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure(2) do |config| | |
config.vm.guest = :freebsd | |
config.vm.box = "freebsd/FreeBSD-10.2-RELEASE" | |
config.ssh.shell = "sh" | |
config.vm.network "private_network", ip: "10.4.4.4", adapter: 2 | |
config.vm.provider "virtualbox" do |vb| | |
vb.gui = false | |
vb.memory = "512" | |
vb.cpus = 1 | |
vb.customize ["modifyvm", :id, "--ioapic", "on"] | |
vb.customize ["modifyvm", :id, "--hwvirtex", "on"] | |
vb.customize ["modifyvm", :id, "--usb", "off"] | |
vb.customize ["modifyvm", :id, "--usbehci", "off"] | |
vb.customize ["modifyvm", :id, "--audio", "none"] | |
vb.customize ["modifyvm", :id, "--nictype1", "virtio"] | |
vb.customize ["modifyvm", :id, "--nictype2", "virtio"] | |
end | |
config.vm.synced_folder ".", "/vagrant", nfs: true, id: "vagrant-root" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When it asks you for an Admin password, it's your OS X password.