summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorJames Laska <jlaska@redhat.com>2009-03-06 11:26:21 -0500
committerJames Laska <jlaska@redhat.com>2009-03-06 11:43:53 -0500
commit546e7aca1d9f7d5b1d7153c71144a205fcccf1a1 (patch)
tree45bc78c3a5b9e75d3f877003c8305610ade3a6d2 /cobbler
parent2a4894349a75eb5411f59b14afeaf2000f55a7a1 (diff)
downloadcobbler-546e7aca1d9f7d5b1d7153c71144a205fcccf1a1.tar.gz
cobbler-546e7aca1d9f7d5b1d7153c71144a205fcccf1a1.tar.xz
cobbler-546e7aca1d9f7d5b1d7153c71144a205fcccf1a1.zip
Only write pxe targets for x86-based distros
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/pxegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/pxegen.py b/cobbler/pxegen.py
index 731d7272..7ff07808 100644
--- a/cobbler/pxegen.py
+++ b/cobbler/pxegen.py
@@ -627,7 +627,7 @@ class PXEGen:
continue
distro = profile.get_conceptual_parent()
# xen distros can be ruled out as they won't boot
- if distro.name.find("-xen") != -1:
+ if distro.name.find("-xen") != -1 or distro.arch not in ["i386", "x86_64"]:
# can't PXE Xen
continue
contents = self.write_pxe_file(None,None,profile,distro,distro.arch,include_header=False)