summaryrefslogtreecommitdiffstats
path: root/cobbler/item_system.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-09-21 17:55:38 -0400
committerJim Meyering <jim@meyering.net>2006-09-21 17:55:38 -0400
commit592dd07619b577a98778b4956cacdceaccb91b01 (patch)
treed824146d8cc65d7cf953c0e8a1437c21b77fa74f /cobbler/item_system.py
parentce22c5989fc2ca2574bf75bd9fbd626d41771f72 (diff)
downloadthird_party-cobbler-592dd07619b577a98778b4956cacdceaccb91b01.tar.gz
third_party-cobbler-592dd07619b577a98778b4956cacdceaccb91b01.tar.xz
third_party-cobbler-592dd07619b577a98778b4956cacdceaccb91b01.zip
ia64 boot fixes as a result of testing.
Diffstat (limited to 'cobbler/item_system.py')
-rw-r--r--cobbler/item_system.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/cobbler/item_system.py b/cobbler/item_system.py
index bde3c28..dda4648 100644
--- a/cobbler/item_system.py
+++ b/cobbler/item_system.py
@@ -27,7 +27,7 @@ class System(item.Item):
self.profile = None # a name, not a reference
self.kernel_options = ""
self.ks_meta = ""
- self.pxe_arch = "i386"
+ self.pxe_arch = "standard"
def from_datastruct(self,seed_data):
self.name = seed_data['name']
@@ -73,9 +73,9 @@ class System(item.Item):
this parameter is meaningless. It only has value when
generating a dhcp file.
"""
- for arch in keys(self.config.bootloaders):
- if arch == new_arch:
- return True
+ if arch == "standard" or arch == "ia64":
+ self.pxe_arch = arch
+ return True
raise cexceptions.CobblerException("exc_pxe_arch")
def is_valid(self):