diff --git a/content/automate/ManageIQ/Infrastructure/VM/Transform/Import.class/__methods__/list_driver_isos.rb b/content/automate/ManageIQ/Infrastructure/VM/Transform/Import.class/__methods__/list_driver_isos.rb index 6300df747..976b2533c 100644 --- a/content/automate/ManageIQ/Infrastructure/VM/Transform/Import.class/__methods__/list_driver_isos.rb +++ b/content/automate/ManageIQ/Infrastructure/VM/Transform/Import.class/__methods__/list_driver_isos.rb @@ -21,7 +21,7 @@ def main values_hash[nil] = '-- no ISO datastore for provider --' else values_hash[nil] = '-- select drivers ISO from list --' - provider.iso_datastore.iso_images.pluck(:name).grep(/tools.*setup/i).each do |iso| + provider.iso_datastore.iso_images.pluck(:name).grep(/tools.*setup|virtio-win.*.iso$/i).each do |iso| values_hash[iso] = iso end end diff --git a/spec/content/automate/ManageIQ/Infrastructure/VM/Transform/Import.class/__methods__/list_driver_isos_spec.rb b/spec/content/automate/ManageIQ/Infrastructure/VM/Transform/Import.class/__methods__/list_driver_isos_spec.rb index 70dc6b753..0f8e49e4f 100644 --- a/spec/content/automate/ManageIQ/Infrastructure/VM/Transform/Import.class/__methods__/list_driver_isos_spec.rb +++ b/spec/content/automate/ManageIQ/Infrastructure/VM/Transform/Import.class/__methods__/list_driver_isos_spec.rb @@ -20,6 +20,8 @@ let!(:provider) { FactoryGirl.create(:ems_redhat, :with_clusters, :iso_datastore => iso_datastore) } let!(:iso_datastore) do iso_images = %w( + virtio-win-1.9.0.iso + virtio-win-1.9.0_amd64.vfd RHEV-toolsSetup_3.5_15.iso RHEV-toolsSetup_4.0_7.iso random-image.iso @@ -49,6 +51,7 @@ oVirt-toolsSetup-4.1-3.fc24.iso oVirt-toolsSetup-4.2-4.fc25.iso rhev-tools-setup.iso + virtio-win-1.9.0.iso ).each { |iso| isos[iso] = iso } expect(ae_service.object['values']).to eq(isos)