Closed felfert closed 5 years ago
This PR needs a rebase. I will let you know once I give it a run on my env if there are any issues.
Yes, I created it befoe you committed your vhdx compression stuff last week. It is actually pretty trivial: It adds a third criteria (the buildnumber) to the map used for determining the driver-path on the virtio iso. If the buildnumber in the map is non-zero, it is used to distinguish between 2k16 and 2k19.
About the fallback to win2k12r2 drivers: I ran into this when I accidently used an older virtio iso which did not contain the 2k19 drivers.
Rebased it for you
:white_check_mark: Build windows-openstack-imaging-tools 1.0.61 completed (commit https://github.com/cloudbase/windows-openstack-imaging-tools/commit/f15b231279 by @felfert)
Ooops - that went totally wrong. Closing this PR and create a new clean PR
This PR adds support for Windows Server 2019, using latest virtio-win-0.1.171
While testing, I also found out, that the fallback to win2k12r2 drivers in WinImageBuilder.ps1, line 697 is probably a bad idea, because no error or warning is printed, but a non-functional image is generated. This should be replaced by fatal error, clearly stating that the appropriate drivers are missing.