[node-patches] Change in ovirt-node[master]: network: Persist ntp.conf when it get's changed
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Thu Oct 25 14:56:58 UTC 2012
Fabian Deutsch has uploaded a new change for review.
Change subject: network: Persist ntp.conf when it get's changed
......................................................................
network: Persist ntp.conf when it get's changed
Previously ntp.conf was persisted when the network got configured, now
it is persisted if it is changed through the TUI.
rhbz#869537
Change-Id: I92134d92ff9d4078f0b1130a067ca64e18a67788
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirtnode/network.py
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/29/8829/1
diff --git a/scripts/ovirtnode/network.py b/scripts/ovirtnode/network.py
index 632710a..23ba228 100644
--- a/scripts/ovirtnode/network.py
+++ b/scripts/ovirtnode/network.py
@@ -243,6 +243,8 @@
self.NTPSERVERS = ""
def save_ntp_configuration(self):
+ _functions.ovirt_store_config(self.NTP_CONFIG_FILE)
+
ntproot = "/files/etc/ntp.conf"
ntpconf = "rm %s\n" % ntproot
ntpconf += "set %s/driftfile /var/lib/ntp/drift\n" % ntproot
--
To view, visit http://gerrit.ovirt.org/8829
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I92134d92ff9d4078f0b1130a067ca64e18a67788
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list