New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to set the TemplateVM setting for TemplateBasedVMs to none #2062

Closed
adrelanos opened this Issue Jun 12, 2016 · 5 comments

Comments

Projects
None yet
3 participants
@adrelanos
Member

adrelanos commented Jun 12, 2016

Setting the template to an arbitrary different temporary template during template reinstallation is a bit dangerous. Easily forgotten. Lets say oneyou would not want boot some my-whonix-ws AppVM in a debian-8 template.

This makes template reinstallation instructions more difficult than possible.

Feature request:
Please have an option for qvm-prefs as well as in QVMM to allow setting the template to none.

Related mailing list discussion:
Is there a standard procedure to reinstall whonix?

Since this touches usability, I am looping in @bnvk.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jun 12, 2016

Member

Having template set to "none" means it is Standalone VM (with own root.img etc). So not that simple. But maybe we should ship dummy template?

Member

marmarek commented Jun 12, 2016

Having template set to "none" means it is Standalone VM (with own root.img etc). So not that simple. But maybe we should ship dummy template?

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jun 12, 2016

Member

This makes template reinstallation instructions more difficult than possible.

I started to rewrite that page to generalize it so that the procedure could be used for any TemplateVM (not just Whonix). However, I stopped when the discussion turned toward creating special tools for the job (rather than having the user manually create the dummy template). Here is the latest draft. If you think it's worth finishing and adding to the docs, let me know. If not (e.g., because we don't want users trying to do that, or it's going to be deprecated soon by this option), then that's ok.

Member

andrewdavidwong commented Jun 12, 2016

This makes template reinstallation instructions more difficult than possible.

I started to rewrite that page to generalize it so that the procedure could be used for any TemplateVM (not just Whonix). However, I stopped when the discussion turned toward creating special tools for the job (rather than having the user manually create the dummy template). Here is the latest draft. If you think it's worth finishing and adding to the docs, let me know. If not (e.g., because we don't want users trying to do that, or it's going to be deprecated soon by this option), then that's ok.

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Jun 12, 2016

Member

I think it's worth being documented because until the improved solution
gets available, users updated, old versions are deprecated and so forth
will probably still take quite some time.

Member

adrelanos commented Jun 12, 2016

I think it's worth being documented because until the improved solution
gets available, users updated, old versions are deprecated and so forth
will probably still take quite some time.

andrewdavidwong added a commit to QubesOS/qubes-doc that referenced this issue Jun 12, 2016

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jun 12, 2016

Member

I think it's worth being documented because until the improved solution gets available, users updated, old versions are deprecated and so forth will probably still take quite some time.

Done: QubesOS/qubes-doc@652409c

Member

andrewdavidwong commented Jun 12, 2016

I think it's worth being documented because until the improved solution gets available, users updated, old versions are deprecated and so forth will probably still take quite some time.

Done: QubesOS/qubes-doc@652409c

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jul 13, 2017

Member

In Qubes 4.0, it's simple to create "dummy" template for this purpose:

qvm-create --class TemplateVM --label red dummy
Member

marmarek commented Jul 13, 2017

In Qubes 4.0, it's simple to create "dummy" template for this purpose:

qvm-create --class TemplateVM --label red dummy

@marmarek marmarek closed this Jul 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment