Skip to content

Commit

Permalink
Merge pull request #2181 from dgutu-suse/zypper_lr
Browse files Browse the repository at this point in the history
Changed URI variable match for usb device
  • Loading branch information
okurz committed Dec 10, 2016
2 parents 533a6bf + fc3db04 commit 3951a4d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/utils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,10 @@ sub validate_repos {
if (check_var("BACKEND", "ipmi") || check_var("BACKEND", "generalhw")) {
$uri = "http[s]*://.*suse";
}
elsif (get_var('USBBOOT')) {
elsif (get_var('USBBOOT') && sle_version_at_least('12-SP3')) {
$uri = "hd:///.*usb-";
}
elsif (get_var('USBBOOT') && sle_version_at_least('12-SP2')) {
$uri = "hd:///.*usbstick";
}
elsif (check_var('ARCH', 's390x')) {
Expand Down

0 comments on commit 3951a4d

Please sign in to comment.