mirror of
https://github.com/Qubes-Community/Contents.git
synced 2024-12-23 14:19:24 -05:00
Update reference to qvm-trim-template for R4+
Fixes QubesOS/qubes-issues#5260
This commit is contained in:
parent
efca3aefc3
commit
87bf24916f
@ -53,10 +53,3 @@ This applies also to any TemplateBasedVM relative to its parent TemplateVM, but
|
|||||||
|
|
||||||
Credit: [Joanna Rutkovska](https://twitter.com/rootkovska/status/832571372085850112)
|
Credit: [Joanna Rutkovska](https://twitter.com/rootkovska/status/832571372085850112)
|
||||||
|
|
||||||
|
|
||||||
Trim for standalone AppVMs
|
|
||||||
---------------------
|
|
||||||
The `qvm-trim-template` command is not available for a standalone AppVM.
|
|
||||||
|
|
||||||
It is still possible to trim the AppVM disks by using the `fstrim --all` command from the appvm.
|
|
||||||
You can also add the `discard` option to the mount line in `/etc/fstab` inside the standalone AppVM if you want trimming to be performed automatically, but there may be a performance impact on writes and deletes.
|
|
||||||
|
@ -148,16 +148,10 @@ There are multiple ways to create a Kali Linux VM:
|
|||||||
[user@kali ~]$ sudo apt-get dist-upgrade
|
[user@kali ~]$ sudo apt-get dist-upgrade
|
||||||
[user@kali ~]$ sudo apt-get autoremove
|
[user@kali ~]$ sudo apt-get autoremove
|
||||||
|
|
||||||
8. Shutdown and trim `kali` template
|
8. Shut down `kali` template
|
||||||
|
|
||||||
- Shutdown `kali` template
|
|
||||||
|
|
||||||
[user@kali ~]$ sudo shutdown -h now
|
[user@kali ~]$ sudo shutdown -h now
|
||||||
|
|
||||||
- In `dom0` console:
|
|
||||||
|
|
||||||
[user@dom0 ~]$ qvm-trim-template kali
|
|
||||||
|
|
||||||
9. Start image
|
9. Start image
|
||||||
|
|
||||||
[user@dom0 ~]$ qvm-start kali
|
[user@dom0 ~]$ qvm-start kali
|
||||||
@ -285,10 +279,9 @@ These instructions will show you how to upgrade a Debian TemplateVM to Kali Linu
|
|||||||
[user@kali-rolling ~]$ sudo apt-get dist-upgrade
|
[user@kali-rolling ~]$ sudo apt-get dist-upgrade
|
||||||
[user@kali-rolling ~]$ sudo apt-get autoremove
|
[user@kali-rolling ~]$ sudo apt-get autoremove
|
||||||
|
|
||||||
9. Shut down and trim the new template.
|
9. Shut down the new template.
|
||||||
|
|
||||||
[user@dom0 ~]$ qvm-shutdown kali-rolling
|
[user@dom0 ~]$ qvm-shutdown kali-rolling
|
||||||
[user@dom0 ~]$ qvm-trim-template kali-rolling
|
|
||||||
|
|
||||||
10. Ensure a terminal can be opened in the new template.
|
10. Ensure a terminal can be opened in the new template.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user