-
Notifications
You must be signed in to change notification settings - Fork 11
/
Vagrantfile
27 lines (23 loc) · 798 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- mode: ruby -*-
# vi: set ft=ruby :
$setup_pathspider = <<SCRIPT
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt install -y libtrace-dev libldns-dev libcurl4-gnutls-dev python3-dev python3-pycurl python3-pip git hellfire
git clone https://github.com/nevil-brownlee/python-libtrace.git
pushd python-libtrace && \
git checkout eaec59a1979e3feb33ff0e50e139a1ba3e1af71a && \
python3 setup.py install && popd
pushd /vagrant && \
pip3 install -r requirements.txt && \
pip3 install -r requirements_dev.txt && \
python3 setup.py develop && popd
pspdr test
SCRIPT
Vagrant.configure("2") do |config|
# Use Debian buster
config.vm.box = "debian/testing64"
config.vm.define "spider" do |spider|
spider.vm.provision :shell, :inline => $setup_pathspider
end
end