Skip to content

Instantly share code, notes, and snippets.

@TheYkk

TheYkk/Vagrantfile

Created Jan 18, 2019
Embed
What would you like to do?
My kali linux settings
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://vagrantcloud.com/search.
config.vm.box = "offensive-security/kali-linux"
config.vm.network "private_network", ip: "158.158.33.10"
config.vm.hostname = "Kali"
config.vm.provider "virtualbox" do |vb|
# Hide the VirtualBox GUI when booting the machine
vb.gui = true
vb.cpus = 4
vb.customize ["modifyvm", :id, "--vram", "128"]
# Enable 3D acceleration:
vb.customize ["modifyvm", :id, "--accelerate3d", "on"]
# Customize the amount of memory on the VM:
vb.memory = "4096"
end
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 22, host: 22
config.vm.synced_folder ".", "D:\\Files\\Dev ubuntu\\KALI", type: "nfs",
 mount_options: ['rw', 'vers=3', 'tcp'],
 linux__nfs_options: ['rw','no_subtree_check','all_squash','async']
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment