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 <[email protected]> --- M src/ovirtnode/network.py 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/05/19705/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/19705 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic1fcc6946010903d851d51e9cdb4923cd6c7ab39 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Fabian Deutsch <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
