summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cobbler/pxegen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cobbler/pxegen.py b/cobbler/pxegen.py
index 8cb8c93..639c30b 100644
--- a/cobbler/pxegen.py
+++ b/cobbler/pxegen.py
@@ -177,6 +177,9 @@ class PXEGen:
pxe_menu_items = ""
for profile in profile_list:
distro = profile.get_conceptual_parent()
+ # xen distros can be ruled out as they won't boot
+ if distro.name.find("-xen") != -1:
+ continue
contents = self.write_pxe_file(None,None,profile,distro,False,include_header=False)
if contents is not None:
pxe_menu_items = pxe_menu_items + contents + "\n"