summaryrefslogtreecommitdiffstats
path: root/templates/dhcp.template
diff options
context:
space:
mode:
authorScott Henson <shenson@redhat.com>2009-04-13 15:01:49 -0400
committerScott Henson <shenson@redhat.com>2009-04-14 16:32:31 -0400
commitb60cafe8e00493823b77e8bcb76467e929b7db8c (patch)
treef0a1173305c56fe43bd62a8b751e2f6780ee0f4e /templates/dhcp.template
parent8162b2d230bbbbb4a09e5adb5f23f7be46dbbc28 (diff)
downloadcobbler-b60cafe8e00493823b77e8bcb76467e929b7db8c.tar.gz
cobbler-b60cafe8e00493823b77e8bcb76467e929b7db8c.tar.xz
cobbler-b60cafe8e00493823b77e8bcb76467e929b7db8c.zip
Add the hostname to the iface output
Diffstat (limited to 'templates/dhcp.template')
-rw-r--r--templates/dhcp.template3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/dhcp.template b/templates/dhcp.template
index 4741770f..0dd92073 100644
--- a/templates/dhcp.template
+++ b/templates/dhcp.template
@@ -44,6 +44,9 @@ group {
#if $iface.ip_address:
fixed-address $iface.ip_address;
#end if
+ #if $iface.hostname:
+ hostname $iface.hostname;
+ #end if
#if $iface.subnet:
option subnet-mask $iface.subnet;
#end if