summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/dhcpgen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/dhcpgen.py b/cobbler/dhcpgen.py
index 0ec3dda..2d6facf 100644
--- a/cobbler/dhcpgen.py
+++ b/cobbler/dhcpgen.py
@@ -110,7 +110,7 @@ class DHCPGen:
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
+ systxt = systxt + " option host-name = \"%s\";\n" % host
else:
systxt = "\nhost generic%d {\n" % counter