summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorJames Laska <jlaska@redhat.com>2009-02-25 16:27:36 -0500
committerJames Laska <jlaska@redhat.com>2009-03-03 11:42:26 -0500
commit5cf82205ad74a459d3af106c822164e4f98d3da3 (patch)
tree8975be1326409e419a1f90e0968bf09844ad7c34 /cobbler
parente3dd04673bb043c2b6024b3b9cbb205d6dd6cbeb (diff)
downloadcobbler-5cf82205ad74a459d3af106c822164e4f98d3da3.tar.gz
cobbler-5cf82205ad74a459d3af106c822164e4f98d3da3.tar.xz
cobbler-5cf82205ad74a459d3af106c822164e4f98d3da3.zip
just adding a FIXME and changing an arch comparison in write_pxe_file()
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/pxegen.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cobbler/pxegen.py b/cobbler/pxegen.py
index e003a9d9..087674ff 100644
--- a/cobbler/pxegen.py
+++ b/cobbler/pxegen.py
@@ -815,6 +815,7 @@ class PXEGen:
else:
append_line = "append %s" % hkopts
+ # FIXME - the append_line length limit is architecture specific
if len(append_line) >= 255 + len("append "):
print _("warning: kernel option length exceeds 255")
@@ -837,7 +838,7 @@ class PXEGen:
# interface=bootif causes a failure
# append_line = append_line.replace("ksdevice","interface")
- if arch in ["s390", "s390x", "ppc", "ppc64"]:
+ if arch.startswith("ppc") or arch.startswith("s390"):
# remove the prefix "append"
append_line = append_line[7:]