Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: engine_page: augeas set copy_if_rename_fails
......................................................................

engine_page: augeas set copy_if_rename_fails

Avoid issues with bind mounting before editing files.

Change-Id: Ic500a92aaff60a24d5d1dbd444b3397e9706a198
Signed-off-by: Douglas Schilling Landgraf <dougsl...@redhat.com>
---
M src/engine_page.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node-plugin-vdsm 
refs/changes/78/32878/1

diff --git a/src/engine_page.py b/src/engine_page.py
index ac72c84..a8591d1 100644
--- a/src/engine_page.py
+++ b/src/engine_page.py
@@ -117,6 +117,7 @@
         engine_data = '"oVirt Engine %s://%s"' % (proto, ":".join(server_url))
 
     ag = augeas.Augeas()
+    ag.set("/augeas/save/copy_if_rename_fails", "")
     ag.set("/files/etc/default/ovirt/MANAGED_IFNAMES", "\"%s\"" %
            ''.join(mgmtIface).encode('utf-8'))
     ag.set("/files/etc/default/ovirt/OVIRT_MANAGEMENT_SERVER", "\"%s\"" %


-- 
To view, visit http://gerrit.ovirt.org/32878
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic500a92aaff60a24d5d1dbd444b3397e9706a198
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-plugin-vdsm
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Douglas Schilling Landgraf <dougsl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to