summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-12 12:16:51 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-12 12:16:51 -0400
commit27e40ba1ab0412e7d47a8858193120d766841587 (patch)
tree84ab0b53efccbec4f071f6f4aabb3901ba6f337f /cobbler
parent721cd0a04ccd09696835bef702050e5e9b802b4f (diff)
downloadthird_party-cobbler-27e40ba1ab0412e7d47a8858193120d766841587.tar.gz
third_party-cobbler-27e40ba1ab0412e7d47a8858193120d766841587.tar.xz
third_party-cobbler-27e40ba1ab0412e7d47a8858193120d766841587.zip
As ifarch doesn't work in noarch RPMs, do not include syslinux as a hard requirement
and just report it's absense in user-understandable terms during "cobbler check".
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/action_check.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/cobbler/action_check.py b/cobbler/action_check.py
index 1dfecf9..93988a3 100644
--- a/cobbler/action_check.py
+++ b/cobbler/action_check.py
@@ -112,7 +112,10 @@ class BootCheck:
for loader in self.settings.bootloaders.keys():
filename = self.settings.bootloaders[loader]
if not os.path.exists(filename):
- status.append(_("missing 1 or more bootloader files listed in /var/lib/cobbler/settings"))
+ if filename.find("pxelinux") != -1:
+ status.append(_("syslinux should be installed but is not, expecting to find something at %s" % filename))
+ else:
+ status.append(_("bootloader missing: %s" % filename))
return
def check_tftpd_bin(self,status):