[node-patches] Change in ovirt-node[master]: Registration status should show "RHSM" not "RHN"
rbarry at redhat.com
rbarry at redhat.com
Thu Feb 18 02:05:06 UTC 2016
Ryan Barry has uploaded a new change for review.
Change subject: Registration status should show "RHSM" not "RHN"
......................................................................
Registration status should show "RHSM" not "RHN"
If rhntype comes out of the model as rhn, set it to RHSM instead
Change-Id: I0af75b54119aee4b48e8023c475fd611c1b8a5c8
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1309187
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M src/ovirt/node/setup/rhn/rhn_page.py
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/85/53685/1
diff --git a/src/ovirt/node/setup/rhn/rhn_page.py b/src/ovirt/node/setup/rhn/rhn_page.py
index 26e1732..f9d804d 100755
--- a/src/ovirt/node/setup/rhn/rhn_page.py
+++ b/src/ovirt/node/setup/rhn/rhn_page.py
@@ -244,6 +244,8 @@
rhn_msg = None
if "satellite" in cfg["rhntype"]:
rhntype = cfg["rhntype"].title()
+ elif "rhn" in cfg["rhntype"]:
+ rhntype = "RHSM"
else:
rhntype = cfg["rhntype"].upper()
--
To view, visit https://gerrit.ovirt.org/53685
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0af75b54119aee4b48e8023c475fd611c1b8a5c8
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>
More information about the node-patches
mailing list