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 missing QEMU startup order option #570

Merged
merged 1 commit into from Jun 25, 2022
Merged

Add missing QEMU startup order option #570

merged 1 commit into from Jun 25, 2022

Conversation

ralgar
Copy link
Contributor

@ralgar ralgar commented Jun 23, 2022

This PR is for #525, and implements the currently missing startup order option for QEMU VMs.

There is a prerequisite for this PR at Telmate/proxmox-api-go#182, which adds the required code in the API module. Of course, this will also require updating the imports in this repository, which is not included in this PR. I assume the maintainers would handle this chore on the next versioned release.

The code is not organized alphabetically in this module, so I put the added code in what seemed to be the most logical place, next to onboot. Hopefully this is OK, but if not, feel free to make edits and move things around as needed.

Everything is tested and working as expected on my end. The only exception is that the startup option cannot be nullified once it is set. As far as I can tell, this is a limitation of the Proxmox API.

@mleone87 mleone87 merged commit 5605fcb into Telmate:master Jun 25, 2022
@ralgar ralgar deleted the feature/qemu-startup-order branch June 25, 2022 21:38
@mrtwnklr
Copy link

Is a new release already in sight?
I am looking forward to use the startup option in my configuration!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants