summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/services.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index a6a99a2..5bcd756 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -364,7 +364,7 @@ EOD;
if ($sm['hostname']) {
$dhhostname = str_replace(" ", "_", $sm['hostname']);
$dhhostname = str_replace(".", "_", $dhhostname);
- $dhcpdconf .= " option host-name {$dhhostname};\n";
+ $dhcpdconf .= " option host-name \"{$dhhostname}\";\n";
}
if ($sm['netbootfile'])
$dhcpdconf .= " filename \"{$sm['netbootfile']}\";\n";
OpenPOWER on IntegriCloud