The Strengths and Weakness of Fedora/RHEL OS management
Shane Stixrud
shane at geeklords.org
Tue Mar 28 23:59:07 UTC 2006
On Tue, 28 Mar 2006, Toshio Kuratomi wrote:
> dhcp snippet (dhcp is not on here so hopefully this snippet is valid):
> default-lease-time 21600;
> subnet 10.202.46.0 netmask 255.255.255.0 {
> use-host-decl-names on;
> option log-servers 10.202.46.2;
> host ws001 {
> hardware ethernet 00:11:22:33:44:55;
> fixed-address 192.168.0.1;
> default-lease-time 10000
> filename "/lts/vmlinuz-2.4.26-ltsp-1";
> }
> }
>
> Here's the same thing in .ini style:
[snip]
> I'd argue that as the number of subnets and special case workstations
> goes up, the ability of a system administrator to read and understand
> the flat file is going to be markedly harder than for the admin to read
> the custom-crafted dhcp-config syntax.
And I would agree for the .ini format. But things change considerably
when instead we deal with all configuration elements as keys and their
values in a filesystem like structure. I can now do:
"cfg_prog -export .ini/dhcpd/xml/etc.. /system/dhcpd/subnet 10.202.*"
where my default editor may be emacs, vim, gedit or a super config editor.
Shane.
More information about the fedora-devel-list
mailing list