summaryrefslogtreecommitdiffstats
path: root/templates/dhcp.template
diff options
context:
space:
mode:
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