On Tuesday, June 14, 2016 at 12:20:19 PM UTC+2, Ivan wrote: > > > > I guess many qubes users have a shared template they use for both sys-* > vms and app vms (usually fedora23), so maybe there should be some notes > about reinstalling the template sys-* vms (or other vms needed for > network access) are based on. For instance: > > - obviously there will be no network once you shutdown the sys-* vms, so > how to download the template rpm and perform an offline installation ? >
You'll want to make a dummy template. Just make a clone of the currently used template and set that as the template for the sys-* VM's. You can delete it afterwards. > - Or, do vms really need to be stopped when updating the template's > root.img ? IIRC in linux one can open() a file, delete it, create > another file with the same name, but continue to read/write from the > deleted file until a close(). A subsequent open() would then open the > new file/inode. Maybe that'd work too with XEN or are there some caveats ? > > Comments in previous posts also suggest using the --downloadonly option > (currently only in fedora templates) in order to be able to use > --action=reinstall in dom0. Would that allow skipping the "dummy > template" steps ?. If yes, maybe make a note about that too ? > Perhaps these steps are too complicated for most users. It might be nice to have a simple "reinstall/reinitialize template" option in the Qubes VM Manager. It would run through the following steps in an automated manner: -Check if the template is used by any VM's -If so, create a clone and set that as the template for these VM's -Delete the the template -Install the template -If applicable, replace the clone template with the newly installed template and delete it. Add in a fancy gui with a progress bar and we're set. -- You received this message because you are subscribed to the Google Groups "qubes-devel" 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-devel/79dcfb89-f485-4699-8d8a-0f7cf2f7aa2d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
