Skip to content

Commit

Permalink
Merge pull request #9 from jeffmccune/feature/master/set_client_hostname
Browse files Browse the repository at this point in the history
Send the client hostname to be used if unset
  • Loading branch information
Jeff McCune committed Jun 11, 2012
2 parents 228da18 + 2435795 commit ca6f50c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/dhcpd.host.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
host <%= host %> {
hardware ethernet <%= mac %>;
fixed-address <%= ip %>;
ddns-hostname "<%= name %>";
# Send the client hostname to be used if hostname not set on the client.
option host-name "<%= name %>";
# Set the client hostname for the DHCP server DDNS update.
# TEST: Does this get the dhcp server to send the hostname?
# ddns-hostname "<%= name %>";
}

0 comments on commit ca6f50c

Please sign in to comment.