-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
26 lines (25 loc) · 814 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.omnibus.chef_version = :latest
config.vm.hostname = "seccubus"
config.vm.box = "opscode-centos-6.4"
config.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box"
config.vm.network :private_network, ip: "33.33.33.33"
config.berkshelf.enabled = true
config.vm.provision :chef_solo do |chef|
chef.json = {
:openvas => {
:enable_nvt_updates_from_cron => 'yes',
:gsad_port => '9392',
:enable_greenbone_scan_configs => 'yes',
:nasl_no_signature_check => 'no'
}
}
chef.run_list = [
"recipe[seccubus_cookbook::repositories]",
"recipe[openvas::nmap]",
"recipe[openvas::server]",
]
end
end