File koan_old_cobbler_compat.diff of Package koan.11261

Index: koan/virtinstall.py
===================================================================
--- koan/virtinstall.py.orig
+++ koan/virtinstall.py
@@ -131,7 +131,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 (("interface_type" in intf 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