[Ovirt-devel] [PATCH node] remove augtool save in the middle

Alan Pevec apevec at redhat.com
Fri Jul 10 02:18:10 UTC 2009


it fails on bind-mounted file, hence there's a wrapper in ovirt-functions
which sets appropriate augeas flags to do overwrite instead to rename.
---
 scripts/ovirt-config-networking |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking
index 6765354..2201369 100755
--- a/scripts/ovirt-config-networking
+++ b/scripts/ovirt-config-networking
@@ -304,7 +304,7 @@ rm ${ntproot}\n\n
 set ${ntproot}/driftfile /var/lib/ntp/drift\n\
 set ${ntproot}/includefile /etc/ntp/crypto/pw\n\
 set ${ntproot}/keys /etc/ntp/keys\n\
-save\n" > $ntpconf
+" > $ntpconf
 
     if [ -n "$NTPSERVERS" ]; then
         offset=1
-- 
1.6.2.5




More information about the ovirt-devel mailing list