Skip to content

Instantly share code, notes, and snippets.

@rduplain
Last active October 18, 2019 18:16
Show Gist options
  • Save rduplain/fffbd4b7c804d3eb390ab51db6e9854e to your computer and use it in GitHub Desktop.
Save rduplain/fffbd4b7c804d3eb390ab51db6e9854e to your computer and use it in GitHub Desktop.

Revisions

  1. rduplain revised this gist Oct 18, 2019. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions Vagrantfile
    Original file line number Diff line number Diff line change
    @@ -4,8 +4,8 @@
    Vagrant.configure(2) do |config|
    config.vm.guest = :freebsd

    config.vm.box = "freebsd/FreeBSD-11.2-RELEASE"
    config.vm.box_version = "2018.06.22"
    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
    @@ -25,4 +25,4 @@ Vagrant.configure(2) do |config|
    vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
    vb.customize ["modifyvm", :id, "--nictype2", "virtio"]
    end
    end
    end
  2. rduplain created this gist Jan 2, 2019.
    28 changes: 28 additions & 0 deletions Vagrantfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    # -*- mode: ruby -*-
    # vi: set ft=ruby :

    Vagrant.configure(2) do |config|
    config.vm.guest = :freebsd

    config.vm.box = "freebsd/FreeBSD-11.2-RELEASE"
    config.vm.box_version = "2018.06.22"
    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