[node-patches] Change in ovirt-node[node-3.0]: network: Only update DNS config, not everything

fabiand at fedoraproject.org fabiand at fedoraproject.org
Thu Oct 10 09:50:32 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: network: Only update DNS config, not everything
......................................................................

network: Only update DNS config, not everything

Previously the complete network configuration (and it's configuration
files) were rewritten from scratch when ovirtfunctions.configure_dns()
got triggered, which happens at every boot.
This also lead to custom ifcfg-* scripts getting removed.
This is now fixed and only the DNS related transaction is run.

Change-Id: Ic1fcc6946010903d851d51e9cdb4923cd6c7ab39
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirtnode/network.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/68/20068/1

diff --git a/src/ovirtnode/network.py b/src/ovirtnode/network.py
index 6d346b5..82761ed 100644
--- a/src/ovirtnode/network.py
+++ b/src/ovirtnode/network.py
@@ -51,8 +51,8 @@
         self.vlan_id = ""
 
     def configure_dns(self):
-        from ovirt.node.config.defaults import Network
-        return Network().commit()
+        from ovirt.node.config.defaults import Nameservers
+        return Nameservers().commit()
 
 
 def convert_to_biosdevname():


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic1fcc6946010903d851d51e9cdb4923cd6c7ab39
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: node-3.0
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list