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

Feature: optionally shut down UpdateVM after applying updates #1085

Closed
mig5 opened this Issue Jul 28, 2015 · 4 comments

Comments

Projects
None yet
3 participants
@mig5

mig5 commented Jul 28, 2015

I added a feature to optionally shut down the UpdateVM after running qubes-dom0-update. Since I have a dedicated UpdateVM for this purpose, it is useful for me (I never need the VM to keep running after applying updates).

There is a pull request at QubesOS/qubes-core-admin-linux#1, feel free to merge or close if it's not needed, no worries :)

Thanks

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Aug 2, 2015

Member

What about simply calling something like:

qubes-dom0-update ... ; qvm-shutdown `qubes-prefs updatevm`
Member

marmarek commented Aug 2, 2015

What about simply calling something like:

qubes-dom0-update ... ; qvm-shutdown `qubes-prefs updatevm`
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Aug 2, 2015

Member

Alternatively, if you still think that automatic shutdown is useful, perhaps do it when the VM wasn't running before (i.e. when it was started by qubes-dom0-update)?

Member

marmarek commented Aug 2, 2015

Alternatively, if you still think that automatic shutdown is useful, perhaps do it when the VM wasn't running before (i.e. when it was started by qubes-dom0-update)?

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Aug 2, 2015

Member

Or qubes-dom0-update ... && qvm-shutdown 'qubes-prefs updatevm'. Perhaps write a small wrapper script to automate this.

I wonder how common this use case is.

Member

adrelanos commented Aug 2, 2015

Or qubes-dom0-update ... && qvm-shutdown 'qubes-prefs updatevm'. Perhaps write a small wrapper script to automate this.

I wonder how common this use case is.

@mig5

This comment has been minimized.

Show comment
Hide comment
@mig5

mig5 Aug 2, 2015

Cool - of course I can just write a wrapper script. So it is an unwanted/unnecessary feature - what a much more succinct way to say it :)

No worries.

mig5 commented Aug 2, 2015

Cool - of course I can just write a wrapper script. So it is an unwanted/unnecessary feature - what a much more succinct way to say it :)

No worries.

@mig5 mig5 closed this Aug 2, 2015

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