-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Tue, Nov 22, 2016 at 02:31:38AM -0800, Fabrizio Romano Genovese wrote: > Thank you very much, your solution worked (actually I had to give > virsh -c xen:/// undefine trim-fedora-23 > and not > virsh -c xen:/// undefine fedora-23-fstrim > and then I had to manually remove the trim-fedora-23 files in > /var/lib/qubes/appvm). > > The problem started when I decided to make a little script to automatize the > trim process for all my templates at once, but it is evident that I must have > made some mistake while doing it :D > > Anyway, a "global trim function", as well as a "global update function" would > be very helpful, updating/trimming of templates can be quite time consuming!
Global update is possible using salt management stack. See here: https://groups.google.com/d/msg/qubes-users/UG1OiPXWrhs/LqYoSC2WBgAJ I think it should be even possible using one-liner like this: qubesctl --templates state.single pkg.uptodate '' refresh=True Uhm, actually it will not work right now, because qubesctl tool have an "optimization" to not call into VMs when no states are defined in top file for it (the configuration mentioned in link above). But it should be easy to fix: https://github.com/QubesOS/qubes-issues/issues/2451 Currently there is no similarly easy option "global trim", but on the other hand, it will not be needed anymore in Qubes 4.0 when using LVM storage. - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYNDWtAAoJENuP0xzK19cs/hYH+gO6XvdfQ972blKzqE1NycpH +a1fi99x6bltpECVRA+FP1+qvtjckfAcjMbSxxh5Dl7of9NLGkvKACHNnwvt0y3Z DqcEBhphJ0pLYTpaZeChwVWh2lvsEFPp41gcUr/Ucq1O2P9g9wOR4jE+fDDbkFZU RB7/i5zj3l7qABy5YEU5yMxoY4uR/4g+n1f+HdJFolaxdaJA8udbv8Wn71iih3XS EGtJ0TaKrUmWQ7MkEDt/vlLwHwFomyk2jfqgCrh0m01xJZZvNyeFBLPwTU/nPUvQ 2E/UwCI+u2Wz4rTWUAwMsbqRhbMPclA6QmQowtuiGcjhqQX/lIMPokUl+sYtsGg= =0Ezp -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20161122121019.GX1145%40mail-itl. For more options, visit https://groups.google.com/d/optout.