Просмотр исходного кода

Fixes _get_ifcfgs_by_type call

Alessandro Pilotti 10 лет назад
Родитель
Сommit
ae6d813146
1 измененных файлов с 1 добавлено и 1 удалено
  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)