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 5, 2016
1 parent 5ef47bc commit 4823b84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/utils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,8 @@ sub validate_repos {
$uri = "http[s]*://.*suse";
}
elsif (get_var('USBBOOT')) {
$uri = "hd:///.*usbstick";
$uri = "hd:///.*usb" if get_var('VERSION','12-SP3');
$uri = "hd:///.*usbstick" if !get_var('VERSION','12-SP3');
}
elsif (check_var('ARCH', 's390x')) {
$uri = "ftp://";
Expand Down

0 comments on commit 4823b84

Please sign in to comment.