Signed-off-by: Ben Riggs <rigg0022@xxxxxxx> --- cobbler/cobblerd.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cobbler/cobblerd.py b/cobbler/cobblerd.py index d9a5ced..d2ef336 100644 --- a/cobbler/cobblerd.py +++ b/cobbler/cobblerd.py @@ -71,11 +71,11 @@ def do_syslog(bootapi, settings, port, logger): while 1: data, addr = s.recvfrom(buf) (ip, port) = addr - name = bootapi.systems().find(ip_address = ip) - if not data and name: + system = bootapi.systems().find(ip_address = ip) + if not data and system: break else: - logfile = open("/var/log/cobbler/syslog/%s" % name, "a+") + logfile = open("/var/log/cobbler/syslog/%s" % system.name, "a+") t = time.localtime() # write numeric time seconds = str(time.mktime(t)) -- 1.5.2.2 _______________________________________________ et-mgmt-tools mailing list et-mgmt-tools@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/et-mgmt-tools