custom Vagrantfile and provisioner

This allows me to build in a VM on a Mac.
This commit is contained in:
Vid Luther 2014-09-12 22:25:40 -05:00
parent 38ab997cb3
commit 5da1104701
2 changed files with 9 additions and 0 deletions

5
Vagrantfile vendored
View file

@ -1,5 +1,10 @@
Vagrant.configure("2") do |config|
config.vm.define "builder" do |builder|
builder.vm.box = "vm144"
builder.vm.provision "shell", path: "provision.sh"
end
config.vm.define "secure" do |secure|
secure.vm.box = "ubuntu/trusty64"
secure.vm.hostname = "secure.dev.fail2ban.org"

4
provision.sh Normal file
View file

@ -0,0 +1,4 @@
#!/bin/bash
sudo apt-get -y update
sudo apt-get -y install curl python-systemd dh-systemd python-pip python-inotifyx git build-essential autotools-dev libssl-dev devscripts debhelper git libpcre3-dev libssl-dev