Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upqubes-template-manager (QTM) cli tool #2064
Comments
adrelanos
referenced this issue
Jun 12, 2016
Closed
qubes-dom0-update template reinstallation option #2061
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jun 12, 2016
Member
Take a look at #2063 - there are more problems with RPM templates (like inability to rename).
But such a tool looks like a good idea, for now can use qubes-dom0-update, and later switch to new mechanism when invented.
qtm purge requires very careful handling, triple user confirmation etc. Otherwise can really easily lead to data loss.
|
Take a look at #2063 - there are more problems with RPM templates (like inability to rename).
|
adrelanos commentedJun 12, 2016
Quote @marmarek #2061 (comment):
I think there is no reason to use something other than RPM (or APT, if dom0 will be one day Debian based). The template update exclusion mechanism is fine, just needs fine tuning for some rough edges. I very much recommend inventing a new package manager, that is a project in it self, a super comprehensive, difficult task. (Look into TUF.)
A qubes-template-manager (QTM) cli tool could do.
qubes-dom0-update template reinstallation option(#2061) is part of the solution, should implement a--no-excludeoption forqubes-dom0-update. QTM would use that.qtm features:
qtm install qubes-template-whonix-gw->qubes-dom0-update qubes-template-whonix-gwqtm reinstall qubes-template-whonix-gw->qubes-dom0-update --no-exclude qubes-template-whonix-gwqtm purge qubes-template-whonix-gw-> iterate through all TemplateBasedVMs based on qubes-template-whonix-gw,qvm-killandqvm-removethem, ->yum remove qubes-template-whonix-gwqtm remove qubes-template-whonix-gw-> iterate through all TemplateBasedVMs based on qubes-template-whonix-gw, set them to templatenone(#2062) ->yum remove qubes-template-whonix-gw