Add Vagrantfile

This should help with testing development code and new releases. To use,
just install vagrant and run vagrant up && vagrant ssh
This commit is contained in:
Jerome Charaoui 2018-06-29 11:43:12 -04:00
parent 1e78c5b4a1
commit a7fd43b94a
2 changed files with 16 additions and 0 deletions

1
.gitignore vendored
View File

@ -52,3 +52,4 @@ man/Makefile
src/Makefile
src/backupninja
src/ninjahelper
vagrant

15
Vagrantfile vendored Normal file
View File

@ -0,0 +1,15 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
ENV["LC_ALL"] = "en_US.UTF-8"
Vagrant.configure("2") do |config|
config.vm.box = "debian/stretch64"
config.vm.provision "shell", inline: <<-SHELL
locale-gen
apt-get update
apt-get install -y git automake make
git clone https://0xacab.org/riseuplabs/backupninja.git
chown vagrant: backupninja -R
SHELL
end