[node-patches] Change in ovirt-node[ovirt-3.6]: Registration status should show "RHSM" not "RHN"

rbarry at redhat.com rbarry at redhat.com
Tue Mar 29 19:49:47 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>
(cherry picked from commit 0f2907623c7622dacee3609a0990de1121a09e64)
---
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/28/55428/1

diff --git a/src/ovirt/node/setup/rhn/rhn_page.py b/src/ovirt/node/setup/rhn/rhn_page.py
index 9b547da..74862ad 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/55428
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0af75b54119aee4b48e8023c475fd611c1b8a5c8
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.6
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list