[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: possible to undefine hostname class?
From: |
Eric Sorenson |
Subject: |
Re: possible to undefine hostname class? |
Date: |
Fri, 23 Apr 2004 21:54:13 -0700 (PDT) |
On Fri, 23 Apr 2004, David Kewley wrote:
> Suggestions? I welcome all suggestions, including "here's a better way to do
> it that doesn't use cfagent this way".
We made a perl CGI called kscfg.cgi which gets pointed at by our PXEboot
kickstart target, a'la
label rh73-ks
kernel vmlinuz-rh73
append initrd=initrd-rh73.img.gz ramdisk_size=16384 ksdevice=
ks=http://ks-server/cgi-bin/kscfg.cgi
All of the intelligence about what host should get what kickstart
config is done in the CGI, which uses the HTTP REMOTE_ADDR variable
to determine the hostname, subnet, etc which cause different kickstart
config stuff to happen.
cfengine runs post-installation to do some bootstrapping and then
every hour until the Apocalypse :-)
--
Eric Sorenson - EXPLOSIVE Networking - http://explosive.net