Skip to content

Instantly share code, notes, and snippets.

@faizalmansor
Created March 15, 2016 12:20
Show Gist options
  • Select an option

  • Save faizalmansor/9609945a294403d325db to your computer and use it in GitHub Desktop.

Select an option

Save faizalmansor/9609945a294403d325db to your computer and use it in GitHub Desktop.
Vagrantfile for official Freebsd vagrant box
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.guest = :freebsd
config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: true
config.vm.box = "freebsd/FreeBSD-10.2-STABLE"
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
config.vm.network "private_network", ip: "192.168.33.10"
end
@faizalmansor
Copy link
Copy Markdown
Author

Replace the Vagrantfile that was automatically created when you initially run vagrant init entirely with this vagrantfile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment