On Wed, May 10, 2017 at 04:57:35PM +0000, atlahua wrote: > __________________________________________________________________ > > Thanks Unman. > I do not have a full understanding of how dvm's are created and therefore I > am going to need some time to understand how your script works. > I have one initial question though: what is the second argument, the > [command]? >
The command to create a DVM Template is qvm-create-default-dvm, and this is a python file that is pretty easy to understand. The DVM templates are retained in the /var/lib/qubes/appvms/ directory - if you create a few then you will see them there, with the dvm suffix. A disposableVM is spawned from the saved state of a running DVMTemplate - that's why it loads so fast. All my script does is relink the saved state for a particular DVMTemplate to the "current" Template, and then spawns a disposableVM based on that state. The second argument is just whatever you want to run in the disposableVM - 'xterm' or 'firefox'. I use keyboard shortcuts linked to different invocations. I think this gives you exactly what you are looking for. unman -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20170510214445.GA8081%40thirdeyesecurity.org. For more options, visit https://groups.google.com/d/optout.
