Based off opscode/bento:
(built from FreeBSD-10.0-RELEASE-amd64-disc1.iso)
git clone [email protected]:opscode/bento.git
cd bento/packer
packer build -only=virtualbox-iso freebsd-10.0-amd64.json
# --> Vagrant
vagrant box add fbsd10 .../bento/builds/virtualbox/opscode_freebsd-10.0_chef-provisionerless.box
# --> See Vagrantfile
Vagrantfile:
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "fbsd10"
config.vm.synced_folder ".", "/vagrant", :nfs => true, id: "vagrant-root"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
vb.customize ["modifyvm", :id, "--nictype2", "virtio"]
end
config.vm.network :private_network, ip: "192.168.33.10"
end
Use of :nfs => true
is currently required b/c FreeBSD: Userland TODO tasks: "Guest Additions: Implement vboxsf (shared folders)"
Refs: