Add optional custom URL and SHA256 checksum for QEMU guest agent#423
Closed
kallioli wants to merge 1 commit into
Closed
Add optional custom URL and SHA256 checksum for QEMU guest agent#423kallioli wants to merge 1 commit into
kallioli wants to merge 1 commit into
Conversation
Add a [virtio_qemu_guest_agent] config section with two optional options:
* url: overrides the default QEMU guest agent MSI installer URL selected
by install_qemu_ga (which must be set to True).
* checksum: SHA256 hash of the installer. When set, the downloaded MSI is
verified with Get-FileHash and the image build fails on mismatch. It
applies to the installer selected by either url or the default URL.
Download-QemuGuestAgent gains optional -CustomUrl and -Checksum parameters
and warns when a custom URL is used without a checksum. The default behaviour
(install_qemu_ga True/False/custom-URL string) is unchanged, so this is fully
backward compatible. Documented in the example config and README.
Relates-to: cloudbase#413
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a [virtio_qemu_guest_agent] config section with two optional options:
Download-QemuGuestAgent gains optional -CustomUrl and -Checksum parameters and warns when a custom URL is used without a checksum. The default behaviour (install_qemu_ga True/False/custom-URL string) is unchanged, so this is fully backward compatible. Documented in the example config and README.
Relates-to: #413