diff --git a/Config.psm1 b/Config.psm1 index 8317b51..4954702 100644 --- a/Config.psm1 +++ b/Config.psm1 @@ -116,8 +116,8 @@ function Get-AvailableConfigOptions { "Description" = "Installs QEMU guest agent services from the Fedora VirtIO website. Defaults to 'False' (no installation will be performed). If set to 'True', the following MSI installer will be downloaded and installed: - * for x86: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-100.0.0.0-3.el7ev/qemu-ga-x86.msi - * for x64: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-100.0.0.0-3.el7ev/qemu-ga-x64.msi + * for x86: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-qemu-ga/qemu-ga-i386.msi + * for x64: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-qemu-ga/qemu-ga-x86-64.msi The value can be changed to a custom URL, to allow other QEMU guest agent versions to be installed. Note: QEMU guest agent requires VirtIO drivers to be present on the image. "}, diff --git a/Examples/windows-image-config-example.ini b/Examples/windows-image-config-example.ini index e0a7aa4..bdcd684 100644 --- a/Examples/windows-image-config-example.ini +++ b/Examples/windows-image-config-example.ini @@ -137,8 +137,8 @@ drivers_path="" # Installs QEMU guest agent services from the Fedora VirtIO website. # Defaults to 'False' (no installation will be performed). # If set to 'True', the following MSI installer will be downloaded and installed: -# * for x86: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-100.0.0.0-3.el7ev/qemu-ga-x86.msi -# * for x64: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-100.0.0.0-3.el7ev/qemu-ga-x64.msi +# * for x86: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-qemu-ga/qemu-ga-i386.msi +# * for x64: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-qemu-ga/qemu-ga-x86-64.msi # The value can be changed to a custom URL, to allow other QEMU guest agent versions to be installed. # Note: QEMU guest agent requires VirtIO drivers to be present on the image. install_qemu_ga=False diff --git a/WinImageBuilder.psm1 b/WinImageBuilder.psm1 index adb7cca..ffa7854 100755 --- a/WinImageBuilder.psm1 +++ b/WinImageBuilder.psm1 @@ -575,12 +575,12 @@ function Download-QemuGuestAgent { $QemuGuestAgentUrl = $QemuGuestAgentConfig if ($QemuGuestAgentConfig -eq 'True') { - $arch = "x86" + $arch = "i386" if ($OsArch -eq "AMD64") { - $arch = "x64" + $arch = "x86-64" } $QemuGuestAgentUrl = "https://fedorapeople.org/groups/virt/virtio-win/direct-downloads" + ` - "/archive-qemu-ga/qemu-ga-win-100.0.0.0-3.el7ev/qemu-ga-{0}.msi" -f $arch + "/latest-qemu-ga/qemu-ga-{0}.msi" -f $arch } Write-Log "Downloading QEMU guest agent installer from ${QemuGuestAgentUrl} ..."