h4cker/build_your_own_lab/websploit/Vagrantfile

33 lines
791 B
Ruby
Raw Normal View History

2019-09-27 02:03:56 +00:00
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
#Box settings
2021-09-10 20:06:36 +00:00
config.vm.box = "kalilinux/rolling"
2019-09-27 02:03:56 +00: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-27 02:26:04 +00:00
# config.vm.network "private_network", ip: "10.1.1.1"
2019-09-27 02:03:56 +00: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 20:44:38 +00:00
curl -sSL https://websploit.org/install.sh | sudo bash
2019-09-27 02:16:42 +00:00
2019-09-27 02:03:56 +00:00
SHELL
end