Last active
October 18, 2019 18:16
-
-
Save rduplain/fffbd4b7c804d3eb390ab51db6e9854e to your computer and use it in GitHub Desktop.
Simple FreeBSD vagrant.
This file contains hidden or 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 : | |
Vagrant.configure(2) do |config| | |
config.vm.guest = :freebsd | |
config.vm.box = "freebsd/FreeBSD-11.3-RELEASE" | |
config.vm.box_version = "2019.07.05" | |
config.vm.box_check_update = false | |
config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: true | |
config.ssh.shell = "sh" | |
if Vagrant.has_plugin?("vagrant-vbguest") | |
config.vbguest.auto_update = false | |
end | |
config.vm.provider "virtualbox" do |vb| | |
vb.cpus = 2 | |
vb.memory = "2048" | |
vb.name = "freebsd" | |
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 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment