[kali] apply recommendations from pull request #989

This commit is contained in:
Neowutran 2020-09-19 08:59:31 +02:00
parent 7a27e84e5b
commit 8e50e64cb4

View File

@ -21,7 +21,7 @@ Only use this method if you want the full Kali GUI (desktop, fancy menus, etc.).
It comes at the cost of much greater resources consumption. It comes at the cost of much greater resources consumption.
1. Download the Kali ISO 1. Download the Kali ISO
2. Create a new HVM 2. [Create a new HVM][qubes-new-hvm]
3. Start the HVM with attached CD/DVD 3. Start the HVM with attached CD/DVD
```shell_session ```shell_session
$ qvm-start <hvm-name> --cdrom <vm-name>:/home/user/Downloads/<iso-name>.iso $ qvm-start <hvm-name> --cdrom <vm-name>:/home/user/Downloads/<iso-name>.iso
@ -37,9 +37,10 @@ If you need to install custom kernel modules (wifi drivers, …) you need to use
The steps can be summarized as: The steps can be summarized as:
1. Install Qubes stable Debian template 1. Install Qubes stable Debian template
2. Add `testing` and `securitytesting` Qubes repositories 2. Upgrade from Debian `stable` to Debian `testing` for Qubes repositories
3. Add the Kali repository 3. Add `testing` and `securitytesting` Qubes repositories
4. Update the template 4. Replace the content of `/etc/apt/sources.list` file with the Kali repository
5. Update the template
Get Kali Linux PGP key Get Kali Linux PGP key
----------------------- -----------------------
@ -128,8 +129,10 @@ $ qvm-copy kali-key.asc
# apt-get remove libgcc-8-dev && apt-get install libc6-dev # apt-get remove libgcc-8-dev && apt-get install libc6-dev
``` ```
**Note:** This kind of dependency issues will pop up and disappear without notice. **Note:** This kind of dependency issue will pop up and disappear without notice.
It depends on the differences of dependencies between the Kali repository, the testing Qubes repository and the dependency issues related to the upgrade from stable Debian to testing Debian/Kali. Such issues arise because of the differences of dependencies in packages from
the Kali repository, the Qubes testing repository and the Debian testing
repository.
So this step [step 8] is currently needed. But it will not always be the case. So this step [step 8] is currently needed. But it will not always be the case.
9. Update the template 9. Update the template
@ -145,6 +148,7 @@ $ qvm-run -a kali-rolling gnome-terminal
Install the Kali tools Install the Kali tools
------------------------------ ------------------------------
At this point you should have a working template and you can install the tools you need. At this point you should have a working template and you can install the tools you need.
You can find [a list of Kali Linux Metapackages here](https://tools.kali.org/kali-metapackages)
Keep in mind that the tools you will install can easily take more than 10 GB, [so you will need to **grow** the size of the VM system storage.][qubes-resize-disk-image] Keep in mind that the tools you will install can easily take more than 10 GB, [so you will need to **grow** the size of the VM system storage.][qubes-resize-disk-image]
Alternative Options to Kali Linux Alternative Options to Kali Linux
@ -164,6 +168,7 @@ Thanks to the people in [the discussion thread](https://github.com/QubesOS/qubes
[qubes-ptf]: /doc/pentesting/ptf/ [qubes-ptf]: /doc/pentesting/ptf/
[qubes-template-debian-install]: /doc/templates/debian/#install [qubes-template-debian-install]: /doc/templates/debian/#install
[qubes-resize-disk-image]: /doc/resize-disk-image/ [qubes-resize-disk-image]: /doc/resize-disk-image/
[qubes-new-hvm]: /doc/standalone-and-hvm/
[kali]: https://www.kali.org/ [kali]: https://www.kali.org/
[kali-vbox]: https://www.offensive-security.com/kali-linux-vmware-virtualbox-image-download/ [kali-vbox]: https://www.offensive-security.com/kali-linux-vmware-virtualbox-image-download/