]> git.proxmox.com Git - mirror_ifupdown2.git/blobdiff - ifupdown2/addons/ethtool.py
Merge branch 'master' into master-next
[mirror_ifupdown2.git] / ifupdown2 / addons / ethtool.py
index 246c69a80015fabcc318e379b42d59e46d563e2c..fde652fab8e23262fc575855230b567cb33da082 100644 (file)
@@ -165,6 +165,11 @@ class ethtool(Addon, moduleBase):
                 except Exception, e:
                     self.log_error('%s: %s' %(ifaceobj.name, str(e)), ifaceobj)
 
+        self.ethtool_ignore_errors = policymanager.policymanager_api.get_module_globals(
+            module_name=self.__class__.__name__,
+            attr='ethtool_ignore_errors'
+        )
+
     def do_fec_settings(self, ifaceobj):
         feccmd = ''