Jelajahi Sumber

Fixes _get_ifcfgs_by_type call

Alessandro Pilotti 10 tahun lalu
induk
melakukan
ae6d813146
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      coriolis/osmorphing/redhat.py

+ 1 - 1
coriolis/osmorphing/redhat.py

@@ -95,7 +95,7 @@ class RedHatMorphingTools(base.BaseOSMorphingTools):
         return ifcfgs
         return ifcfgs
 
 
     def set_net_config(self, nics_info, dhcp):
     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:
         if dhcp:
             self._set_dhcp_net_config(ifcfgs_ethernet)
             self._set_dhcp_net_config(ifcfgs_ethernet)