Skip to content

Commit

Permalink
Add OpenBSD 5.9 vagrant box. (elastic#1390)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkroh authored and tsg committed Apr 14, 2016
1 parent 09eab61 commit 387ce22
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# -------------------
# - Use gmake instead of make.
#
# freebsd
# freebsd and openbsd
# -------------------
# - Use gmake instead of make.
# - Folder syncing doesn't work well. Consider copying the files into the box or
Expand Down Expand Up @@ -95,6 +95,20 @@ Vagrant.configure(2) do |config|
freebsd.vm.provision "shell", inline: $unixProvision, privileged: false
end

# OpenBSD 5.9
config.vm.define "openbsd", primary: true do |freebsd|
freebsd.vm.box = "https://s3.amazonaws.com/beats-files/vagrant/beats-openbsd-5.9-virtualbox-2016-04-14_0019.box"
freebsd.vm.network :forwarded_port, guest: 22, host: 2225, id: "ssh", auto_correct: true

config.vm.synced_folder ".", "/vagrant", type: "rsync", disabled: true
config.vm.provider :virtualbox do |vbox|
vbox.check_guest_additions = false
vbox.functional_vboxsf = false
end

freebsd.vm.provision "shell", inline: $unixProvision, privileged: false
end

end

# -*- mode: ruby -*-
Expand Down

0 comments on commit 387ce22

Please sign in to comment.