File koan_old_cobbler_compat.diff of Package cobbler

Index: koan/virtinstall.py
===================================================================
--- koan/virtinstall.py.orig
+++ koan/virtinstall.py
@@ -128,7 +128,7 @@ def _sanitize_nics(nics, bridge, profile
         counter = counter + 1
         intf = nics[iname]
 
-        if (intf["interface_type"] in ("bond","bridge","bonded_bridge_slave") or
+        if ((intf.has_key("interface_type") and intf["interface_type"] in ("bond","bridge","bonded_bridge_slave")) or
             vlanpattern.match(iname) or iname.find(":") != -1):
             continue
openSUSE Build Service is sponsored by