Kali Linux Vagrant
Perhaps this is better than mine: https://github.com/stevemcilwain/Disposable-Kali
Download
Clean up any previous install
vagrant plugin uninstall vagrant-vbguest
vagrant halt
vagrant destroy -f
rm -rf .vagrant/
Update Kali
vagrant plugin install vagrant-timezone
vagrant up
vagrant plugin install vagrant-scp
vagrant scp scripts/update_kali.sh :/tmp/
vagrant ssh --command "cd /tmp && sudo bash update_kali.sh"
vagrant halt
Prep VBox
vagrant up
vagrant scp scripts/prep_vbox.sh :/tmp/
vagrant ssh --command "cd /tmp && sudo bash prep_vbox.sh"
vagrant halt
Linux - Get VirtualBox Guest Additions
sudo apt install virtualbox-guest-additions-iso
Install Guest Additions
vagrant plugin install vagrant-vbguest
vagrant up
vagrant halt
Add a user (patricia below)
vagrant up
vagrant ssh --command "sudo adduser patricia"
vagrant ssh --command "sudo adduser patricia sudo"
Install packages
vagrant scp scripts/setup.sh :/tmp/
vagrant ssh --command "cd /tmp && sudo bash setup.sh"
Test
Log in as the user in the Kali window and make sure View > Auto-resize Guest Display is enabled