From d42f031f5b8b86b145c45ce300439845f9b33b36 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Mon, 11 Mar 2013 13:05:38 +0000 Subject: [PATCH] DisposableVms changed Added section on how to create Dispoable VM savefile based on a custom template --- DisposableVms.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/DisposableVms.md b/DisposableVms.md index 78bbfaf5..840aad2c 100644 --- a/DisposableVms.md +++ b/DisposableVms.md @@ -47,3 +47,16 @@ Starting an arbitrary application in a disposable VM via command line (from Dom0 ``` In fact the Disposable VM appmenu used for starting Firefox contains a very similar command to the above. Please note, however, that it generally makes little sense to start any other application other than a Web Browser this way... + +Using a non-default template as a basis for Disposable VM +--------------------------------------------------------- + +In some situations it might be beneficial to use a non-default template as a basis for Disposable VM. One example is to use a less-trusted template with some less trusted, 3rd party, often unsigned, applications installed, such as e.g. 3rd part printer drivers. + +In order to regenerate Disposable VM "snapshot" (called 'savefile' on Qubes) one can conveniently use the following command in Dom0: + +``` {.wiki} +[joanna@dom0 ~]$ qvm-create-default-dvm +``` + +This would create a new Disposable VM savefile based on the custom template. Now, whenever one opens a file (from any AppVM) in a Disposable VM, a Disposable VM based on this template will be used.