Eg. I need install just one package, and maybe is was untrust.
So I install it in Template, because work VM is persistent home & volatile root, so is possible for give this package just for one VM, not all where this template is used?
Clone template for this case is not good for me, because wanted save hard space and not update many clone template.
Sure, the only other solution I have and not already mentioned is installing an entirely different TemplateVM just for one AppVM and an untrusted package, since technically it is not cloning an existing TemplateVM.
I think it’s better to have the dedicated template and appvm as its reset the system state of the appvm, allows smaller backups of the appvm and also allows to have multiple appvms if ever needed.
I read about Standalones and HVMs this is equal for clone template, and I didn’t want it, I can’t clone template just for 1 package, SO is not possible use template but tell work VM for install some package for used? What is about bind maybe with this can do it? How to make any file persistent (bind-dirs) — Qubes OS Documentation
I execute the ~/run.sh which installs the moc package and then runs the mocp software (a TUI music player).
The first bind persists the directory in which apt stores the downloaded packages.
The second bind persists the 01keep-debs file which configures apt to keep the downloaded packages.
So the ./run.sh only downloads the package(s) on the first usage, then for all other usages, it uses the local persisted package cache.
Yes the run.sh content could be in /rw/config/rc.local.
So, I understand with this solution we can install specific package, in specific qube, and it install just once? Not install every boot time, because you are persists it.