summaryrefslogtreecommitdiff
path: root/misc/freebsd/Vagrantfile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/freebsd/Vagrantfile')
-rw-r--r--misc/freebsd/Vagrantfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/misc/freebsd/Vagrantfile b/misc/freebsd/Vagrantfile
new file mode 100644
index 00000000..da126cdc
--- /dev/null
+++ b/misc/freebsd/Vagrantfile
@@ -0,0 +1,23 @@
+# -*- 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-12.0-CURRENT"
+ 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.provision "shell", inline: <<-SHELL
+ pkg install -y git gmake bash autoconf
+ SHELL
+end