Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2v: Support virtio-win drivers ISO #147

Merged
merged 1 commit into from
Jul 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down