Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@TheYkk
Created January 18, 2019 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheYkk/042dd7e7164a47a80152058b76b50a59 to your computer and use it in GitHub Desktop.
Save TheYkk/042dd7e7164a47a80152058b76b50a59 to your computer and use it in GitHub Desktop.
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