Skip to content

Commit

Permalink
fix RHUI support for RHEL 7 clients
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalmer committed Sep 27, 2023
1 parent 166cb08 commit 41d6640
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def get_rhui_url(url):
global cloud_vendor
surl = url.strip().replace(',', "")
urlparams = urlparse.urlparse(url.strip())
if urlparams.hostname.startswith("rhui.") and urlparams.hostname.endswith(".redhat.com"):
if urlparams.hostname.startswith("rhui") and urlparams.hostname.endswith(".redhat.com"):
cloud_vendor = "aws"
return surl
elif urlparams.hostname.startswith("rhui") and urlparams.hostname.endswith(".microsoft.com"):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def get_rhui_url(url):
global cloud_vendor
surl = url.strip().replace(',', "")
urlparams = urlparse.urlparse(surl)
if urlparams.hostname.startswith("rhui.") and urlparams.hostname.endswith(".redhat.com"):
if urlparams.hostname.startswith("rhui") and urlparams.hostname.endswith(".redhat.com"):
cloud_vendor = "aws"
return surl
elif urlparams.hostname.startswith("rhui") and urlparams.hostname.endswith(".microsoft.com"):
Expand Down
1 change: 1 addition & 0 deletions java/spacewalk-java.changes.mc.Manager-4.3-fix-RHUI7
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- fix RHUI support for RHEL 7 clients (bsc#1215756)

0 comments on commit 41d6640

Please sign in to comment.