Skip to content

Commit

Permalink
Changed URI variable match for usb device
Browse files Browse the repository at this point in the history
  • Loading branch information
Dumitru Gutu committed Dec 8, 2016
1 parent 5ef47bc commit fc3db04
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 @@ -616,7 +616,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 fc3db04

Please sign in to comment.