Sfoglia il codice sorgente

Fixes _get_ifcfgs_by_type call

Alessandro Pilotti 10 anni fa
parent
commit
ae6d813146
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      coriolis/osmorphing/redhat.py

+ 1 - 1
coriolis/osmorphing/redhat.py

@@ -95,7 +95,7 @@ class RedHatMorphingTools(base.BaseOSMorphingTools):
         return ifcfgs
 
     def set_net_config(self, nics_info, dhcp):
-        ifcfgs_ethernet = self._get_ifcfgs_by_type(self, "Ethernet")
+        ifcfgs_ethernet = self._get_ifcfgs_by_type("Ethernet")
 
         if dhcp:
             self._set_dhcp_net_config(ifcfgs_ethernet)