diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-03-12 15:33:35 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-03-12 15:33:35 -0400 |
commit | 73857cbd67b62fda81398ba95c81df3abb59f1b1 (patch) | |
tree | 8dfa9891ac0024757258e15597347b6508d168cc /cobbler/action_sync.py | |
parent | cb518895c64bfb690a1f3df0aaeeb147209493c3 (diff) | |
download | third_party-cobbler-73857cbd67b62fda81398ba95c81df3abb59f1b1.tar.gz third_party-cobbler-73857cbd67b62fda81398ba95c81df3abb59f1b1.tar.xz third_party-cobbler-73857cbd67b62fda81398ba95c81df3abb59f1b1.zip |
Adding patch to send hostname
Diffstat (limited to 'cobbler/action_sync.py')
-rw-r--r-- | cobbler/action_sync.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |