Actions
Bug #427
closedDHCP Hostname Not Sent
Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
03/15/2010
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
1.2.3
Affected Architecture:
Description
I'm listing this as a bug but cause I think the name should be sent but I guess it could be a feature to some.
When setting reserved leases in DHCP, the hostname isn't sent as part of the lease.
This can be fixed but adding the following to the services.inc
298 if ($sm['ipaddr'])
299 $dhcpdconf .= " fixed-address {$sm['ipaddr']};\n";
300
301 + if ($sm['hostname'])
302 + $dhcpdconf .= " option host-name {$sm['hostname']};\n";
303
304 $dhcpdconf .= "}\n";
305 $i+;
I need it for spinning up virtual servers and setting the host can be overridden on the client by setting a hostname not blank or localhost/localhost.localdomain if it is not wanted.
Updated by Ermal Luçi over 14 years ago
- Target version set to 1.2.3
- Affected Version set to 1.2.3
In 2.0 this is present.
Updated by Chris Buechler over 14 years ago
- Status changed from New to Closed
- Target version deleted (
1.2.3)
won't fix in 1_2
Updated by Scott Ullrich over 14 years ago
While it is true we are not fixing 1.2 going forward officially this looked handy enough to commit. Committed.
Actions