summaryrefslogtreecommitdiffstats
path: root/templates/dhcp.template
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2009-05-07 10:59:10 -0400
committerMichael DeHaan <mdehaan@redhat.com>2009-05-07 10:59:32 -0400
commita6b9a8e963df36ca44bb0b7c65e26a90eb891b0a (patch)
treeddf0e0732fb497e7dc1cde2f308161a357aec489 /templates/dhcp.template
parenteca5462d02867cc465a1a9b743d531e1fcf66fa3 (diff)
downloadcobbler-a6b9a8e963df36ca44bb0b7c65e26a90eb891b0a.tar.gz
cobbler-a6b9a8e963df36ca44bb0b7c65e26a90eb891b0a.tar.xz
cobbler-a6b9a8e963df36ca44bb0b7c65e26a90eb891b0a.zip
Quote the hostname in the stock ISC dhcp configuration template
Diffstat (limited to 'templates/dhcp.template')
-rw-r--r--templates/dhcp.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/dhcp.template b/templates/dhcp.template
index bd462fec..46171fee 100644
--- a/templates/dhcp.template
+++ b/templates/dhcp.template
@@ -45,7 +45,7 @@ group {
fixed-address $iface.ip_address;
#end if
#if $iface.hostname:
- option host-name $iface.hostname;
+ option host-name "$iface.hostname";
#end if
#if $iface.subnet:
option subnet-mask $iface.subnet;