Skip to content

Add optional custom URL and SHA256 checksum for QEMU guest agent#425

Open
kallioli wants to merge 1 commit into
cloudbase:masterfrom
kallioli:feature/qemu-ga-checksum
Open

Add optional custom URL and SHA256 checksum for QEMU guest agent#425
kallioli wants to merge 1 commit into
cloudbase:masterfrom
kallioli:feature/qemu-ga-checksum

Conversation

@kallioli

@kallioli kallioli commented Jun 5, 2026

Copy link
Copy Markdown

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: #413

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
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.

1 participant