-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathVagrantfile
33 lines (29 loc) · 1.12 KB
/
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
28
29
30
31
32
33
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "kalirolling"
# config.vm.network "forwarded_port", guest: 80, host: 8080
# config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
# config.vm.network "private_network", ip: "192.168.33.10"
# config.vm.network "public_network"
# config.vm.synced_folder "../data", "/vagrant_data"
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# 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"
end
# Run an ansible playbook within the Vagrant VM. For examples of other provisioners
# and their usage, please see the Vagrant website
#
# config.vm.provision "ansible_local" do |ansible|
# ansible.playbook = "ansible/pentest-mgmt.yml"
# ansible.install_mode = "pip"
# end
config.ssh.username = "kali"
config.vbguest.auto_update = false
end