3 # Force use of the Virtualbox provider.
4 # TODO: Support using other providers.
5 ENV['VAGRANT_DEFAULT_PROVIDER'] = 'virtualbox'
7 Vagrant.configure('2') do |config|
8 config.vm.guest = :freebsd
9 config.vm.network('private_network', ip: '10.0.1.10')
11 config.vm.provision('shell', path: 'provision.sh')
13 # Setup the synced folder to use Rsync.
14 # TODO: Get NFS working.
15 config.vm.synced_folder(
22 config.vm.provider :virtualbox do |vb, override|
23 override.vm.box_url = 'https://wunki.org/files/freebsd-10.2-amd64-wunki.box'
24 override.vm.box = 'freebsd-10.2-amd64-wunki'
26 # vb.customize(["startvm", :id, "--type", "gui"])
27 vb.customize(['modifyvm', :id, '--memory', '512'])
28 vb.customize(['modifyvm', :id, '--cpus', '2'])
29 vb.customize(['modifyvm', :id, '--hwvirtex', 'on'])
30 vb.customize(['modifyvm', :id, '--audio', 'none'])
31 vb.customize(['modifyvm', :id, '--nictype1', 'virtio'])
32 vb.customize(['modifyvm', :id, '--nictype2', 'virtio'])