File koan_old_cobbler_compat.diff of Package cobbler.3314

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