mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-05-13 14:36:43 +00:00
custom Vagrantfile and provisioner
This allows me to build in a VM on a Mac.
This commit is contained in:
parent
38ab997cb3
commit
5da1104701
2 changed files with 9 additions and 0 deletions
5
Vagrantfile
vendored
5
Vagrantfile
vendored
|
|
@ -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
4
provision.sh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue