|
13 |
# few changes must be made to this file, if any. |
13 |
# few changes must be made to this file, if any. |
14 |
# |
14 |
# |
15 |
|
15 |
|
|
|
16 |
@!@ |
17 |
if configRegistry.get('dhclient/options/ddns', 'disabled').lower() in ('yes','true','enabled','1'): |
18 |
print 'send host-name "%s";' % configRegistry.get('hostname', '') |
19 |
if configRegistry.get('dhclient/options/ddns/zone', None): |
20 |
print 'send fqdn.fqdn "%s.%s";' % (configRegistry.get('hostname', ''), configRegistry.get('dhclient/options/ddns/zone', None)) |
21 |
else: |
22 |
print 'send fqdn.fqdn "%s.%s";' % (configRegistry.get('hostname', ''), configRegistry.get('domainname', '')) |
23 |
print 'send fqdn.server-update off;' |
24 |
print 'send fqdn.encoded on;' |
25 |
@!@ |
16 |
#send host-name "andare.fugue.com"; |
26 |
#send host-name "andare.fugue.com"; |
17 |
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c; |
27 |
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c; |
18 |
#send dhcp-lease-time 3600; |
28 |
#send dhcp-lease-time 3600; |