Vagrant/Kali: Difference between revisions
From charlesreid1
No edit summary |
|||
| Line 6: | Line 6: | ||
Kali Linux provides an official vagrant box, making it easy to use Kali Linux from a vagrant box. | Kali Linux provides an official vagrant box, making it easy to use Kali Linux from a vagrant box. | ||
==Create image== | |||
To create a vagrant VM that runs Kali, use the vagrant init command and pass it the name of the image, which is kalilinux/rolling or kalilinux/rolling-light: | To create a vagrant VM that runs Kali, use the vagrant init command and pass it the name of the image, which is kalilinux/rolling or kalilinux/rolling-light: | ||
| Line 19: | Line 21: | ||
</pre> | </pre> | ||
This will download the Kali Linux image. Once that's finished, start the vagrant machine with | This will download the Kali Linux image. Once that's finished, you can start the vagrant machine. | ||
==Start box with GUI== | |||
To start up the Kali virtual machine, | |||
<pre> | <pre> | ||
vagrant up | vagrant up | ||
</pre> | </pre> | ||
This will also start the VirtualBox GUI. | |||
The Kali folks have enabled the GUI by default, since many tools in Kali | |||
==Start box without GUI== | |||
=Links= | =Links= | ||
Revision as of 19:25, 11 December 2019
Main article: Vagrant
Related: Kali
Kali Linux on Vagrant
Kali Linux provides an official vagrant box, making it easy to use Kali Linux from a vagrant box.
Create image
To create a vagrant VM that runs Kali, use the vagrant init command and pass it the name of the image, which is kalilinux/rolling or kalilinux/rolling-light:
vagrant init kalilinux/rolling
or
vagrant init kalilinux/rolling-light
This will download the Kali Linux image. Once that's finished, you can start the vagrant machine.
Start box with GUI
To start up the Kali virtual machine,
vagrant up
This will also start the VirtualBox GUI.
The Kali folks have enabled the GUI by default, since many tools in Kali
Start box without GUI
Links
https://www.kali.org/news/announcing-kali-for-vagrant/
Flags