diff options
author | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-04-27 10:18:27 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-04-27 10:18:27 -0400 |
commit | 98a5cfbf1cb674d5fb92112a0bebfd0e2313a913 (patch) | |
tree | a4ee86d560c09f8e02a3c71cd403130d587cbb7e /cobbler/action_check.py | |
parent | e28fc906e89f31e05a08598a307e1a32d139938b (diff) | |
download | cobbler-98a5cfbf1cb674d5fb92112a0bebfd0e2313a913.tar.gz cobbler-98a5cfbf1cb674d5fb92112a0bebfd0e2313a913.tar.xz cobbler-98a5cfbf1cb674d5fb92112a0bebfd0e2313a913.zip |
Fix warning message for "cobbler check" and malformed /etc/dhcpd.conf
Diffstat (limited to 'cobbler/action_check.py')
-rw-r--r-- | cobbler/action_check.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/action_check.py b/cobbler/action_check.py index 5ba95bf8..f35b2a5f 100644 --- a/cobbler/action_check.py +++ b/cobbler/action_check.py @@ -139,9 +139,9 @@ class BootCheck: if line.find("filename") != -1: match_file = True if not match_next: - status.append(cobbler_msg.lookup("no_line") % (self.settings.dhcpd_conf, 'next-server ip-address')) - if not match_file: status.append(cobbler_msg.lookup("no_next_server") % (self.settings.dhcpd_conf)) + if not match_file: + status.append(cobbler_msg.lookup("no_filename") % (self.settings.dhcpd_conf)) else: status.append(cobbler_msg.lookup("no_exist") % self.settings.dhcpd_conf) |