[node-patches] Change in ovirt-node[master]: rhn: Perists only one file at a time
fabiand at redhat.com
fabiand at redhat.com
Thu Jul 17 10:17:47 UTC 2014
Fabian Deutsch has uploaded a new change for review.
Change subject: rhn: Perists only one file at a time
......................................................................
rhn: Perists only one file at a time
Change-Id: Ie1d007e140619170a372498d220482e099a5ca65
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1120594
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/setup/rhn/rhn_model.py
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/11/30211/1
diff --git a/src/ovirt/node/setup/rhn/rhn_model.py b/src/ovirt/node/setup/rhn/rhn_model.py
index a337f1b..b026cd1 100644
--- a/src/ovirt/node/setup/rhn/rhn_model.py
+++ b/src/ovirt/node/setup/rhn/rhn_model.py
@@ -347,7 +347,8 @@
else:
raise RuntimeError("Registration Failed")
else:
- conf.persist(rhsm_configs)
+ for cfg in rhsm_configs:
+ conf.persist(cfg)
conf.persist("/etc/pki/consumer/key.pem")
conf.persist("/etc/pki/consumer/cert.pem")
self.logger.info("System %s sucessfully registered \
--
To view, visit http://gerrit.ovirt.org/30211
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie1d007e140619170a372498d220482e099a5ca65
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
More information about the node-patches
mailing list