when using an /etc/dhcpd.conf file with comments..
"#" chars..
for example...
.
...
#my friend's ip
host jerry ;
fixed-address 10.2.2.2 ;
hardware-ethernet 00:20:30:20:30:20 ;
..
....
the comments will disappear "#my friend's ip"
after updating the file from webmin...
it happens in all cases of an update..
save_host.cgi, save_subnet.cgi, save_group.cgi....
...
It should be fixed
Logged In: YES
user_id=129364
That is normal and inevitable - when you change a host
section, webmin re-writes those lines in the config file,
causing any comments to be lost. The work-around is to put
your comments before the section.
Logged In: YES
user_id=453459
There could be a solution to this situation though, by
adding "Comments fields" in the dhcpd module..
like when updating a host new fields will appear such as:
fixed-address: _____________
hardware-ethernet: ____________
comments1: _______________
comments2: _______________
comments3: _______________
comments4: _______________
comments5: _______________
comments6: _______________
which will be saved in the file after each host starting with the "#" char.
the dhcpd module will then be able to read the lines from there... (6
lines for each host)
this will allow system/network administrators get more information
about the users, in the comments you could add: email, location, phone
number, equipment...
basicly what i'm sayn' is that if someone makes the comments "official"
and webmin (dhcpd module) knows of the comments existence by
adding extra fields, the comments could be easily read from the
dhcpd.conf.
Thanks...
Logged In: YES
user_id=129364
Possible, as long as the comments are in relatively fixed
locations. I am moving this to the 'feature requests' list
for possible future implementation ..