cyber-security-resources/build_your_own_lab/websploit/Vagrantfile

33 lines
791 B
Ruby
Raw Normal View History

2019-09-26 22:03:56 -04:00
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
#Box settings
2021-09-10 16:06:36 -04:00
config.vm.box = "kalilinux/rolling"
2019-09-26 22:03:56 -04:00
# Example for VirtualBox:
#
config.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
vb.gui = true
# Customize the amount of memory on the VM:
vb.memory = "4096"
vb.cpus = "4"
2019-09-26 22:26:04 -04:00
# config.vm.network "private_network", ip: "10.1.1.1"
2019-09-26 22:03:56 -04:00
end
# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: <<-SHELL
2021-11-22 15:44:38 -05:00
curl -sSL https://websploit.org/install.sh | sudo bash
2019-09-26 22:16:42 -04:00
2019-09-26 22:03:56 -04:00
SHELL
end