Skip to content
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

Add option for qubes-vm-update to wait till qubes shut down to terminate #9814

Open
ben-grande opened this issue Feb 27, 2025 · 1 comment
Open
Labels
C: updates P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.

Comments

@ben-grande
Copy link

The problem you're addressing (if any)

I want to script with qubes-vm-update due to Salt being unreliable. But qubes-vm-update finishes after it asks the target to shutdown without waiting. Then I have to make a while true loop to check if the qube is running or not.

If I ask for the template fedora-41 to be updated and then clone it, the clone can happen before the qube shuts down, having an old state.

The solution you'd like

qubes-vm-update --wait-shutdown

An option that does the same as qvm-shutdown --wait.

The value to a user and who that user might be

Be able to script:

qubes-vm-update --wait-shutdown --targets TEMPLATE
qvm-clone TEMPLATE ANOTHER_TEMPLATE

Without cloning an old state.

Completion criteria checklist

No response

@ben-grande ben-grande added the P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: updates P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.
Projects
None yet
Development

No branches or pull requests

2 participants