Fabian Deutsch has uploaded a new change for review. Change subject: kdump: Persist fstab ......................................................................
kdump: Persist fstab Change-Id: I4320388072176472839c08b70b0ae8c82f8f9c19 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1095140 Signed-off-by: Fabian Deutsch <[email protected]> --- M src/ovirt/node/config/defaults.py 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/89/35589/1 diff --git a/src/ovirt/node/config/defaults.py b/src/ovirt/node/config/defaults.py index 81f899c..08ec246 100755 --- a/src/ovirt/node/config/defaults.py +++ b/src/ovirt/node/config/defaults.py @@ -1134,6 +1134,7 @@ File("/etc/fstab").write( "\n%s\t%s\tnfs\tdefaults\t0 0" % (nfs, nfs_path), "a") + Config().persist("/etc/fstab") except utils.process.CalledProcessError: self.logger.warning("Failed to mount %s at " + "%s" % (nfs, nfs_path), @@ -1220,7 +1221,7 @@ "/root/.ssh/known_hosts", "/root/.ssh/config"] - [conf.persist(file) for file in files] + [conf.persist(f) for f in files] except utils.process.CalledProcessError as e: self.logger.warning("Failed to activate KDump with " + -- To view, visit http://gerrit.ovirt.org/35589 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4320388072176472839c08b70b0ae8c82f8f9c19 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Fabian Deutsch <[email protected]> Gerrit-Reviewer: Fabian Deutsch <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
