Created
November 20, 2017 19:24
-
-
Save daxroc/b4d1e4a9572a78d6b5821d42875a7932 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.define "workstation" do |ws| | |
ws.vm.hostname = "workstation" | |
ws.vm.network "private_network", type: "dhcp", virtualbox__intnet: "lab" | |
ws.vm.box = "Sliim/kali-2017.2-amd64" | |
ws.vm.provider "virtualbox" do |vb| | |
vb.name = "Workstation" | |
vb.gui = true | |
vb.memory = "1024" | |
# Create a promiscuous network card - See traffic on the host network | |
# vb.customize ["modifyvm", :id, "--nicpromisc3", "allow-all"] | |
end | |
end | |
config.vm.define "client" do |client| | |
client.vm.box = "boxcutter/ubuntu1604-desktop" | |
client.vm.hostname = "client" | |
client.vm.network "private_network", type: "dhcp", virtualbox__intnet: "lab" | |
client.vm.provider "virtualbox" do |vb| | |
vb.name = "Client" | |
vb.gui = true | |
vb.memory = "512" | |
vb.customize ["modifyvm", :id, "--accelerate3d", "off"] | |
end | |
end | |
config.vm.define "server" do |server| | |
server.vm.box = "ubuntu/xenial64" | |
server.vm.hostname = "server" | |
server.vm.network "private_network", type: "dhcp" | |
server.vm.network "private_network", type: "dhcp", virtualbox__intnet: "lab" | |
server.vm.provider "virtualbox" do |vb| | |
vb.name = "server" | |
vb.gui = false | |
vb.memory = "512" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment