From 73857cbd67b62fda81398ba95c81df3abb59f1b1 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 12 Mar 2008 15:33:35 -0400 Subject: Adding patch to send hostname --- cobbler/action_sync.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cobbler/action_sync.py') diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py index 139066e..d6ea178 100644 --- a/cobbler/action_sync.py +++ b/cobbler/action_sync.py @@ -163,6 +163,8 @@ class BootSync: # the label the entry after the hostname if possible if host is not None and host != "": systxt = "\nhost %s {\n" % host + if self.settings.isc_set_host_name: + systxt = systxt + " option host-name = %s;\n" % host else: systxt = "\nhost generic%d {\n" % counter -- cgit