[CentOS] interactive %pre in kickstart?

Wed Mar 21 02:11:40 UTC 2007
Will McDonald <wmcdonald at gmail.com>

On 21/03/07, Florin Andrei <florin at andrei.myip.org> wrote:
> Will McDonald wrote:
> >
> > If you know the MAC address of the system before install then you
> > could customise the install on that basis.
> >
> > i.e. I know the MAC[s] of this box so when they're detected use
> > ks-mail.cfg or ks-web.cfg as appropriate, then have a front end to add
> > MACs use specific kickstart configs?
> Good idea when replacing an existing system.
> Doesn't work that well when adding new systems, or building a new
> environment.

Yes and no.

Most modern rackmount kit comes with a tear-off system info card with
MAC address, asset tag and the like attached for this sort of purpose.
Obviously the value of this depends on your build systems but you
should, theoretically, be able to rack a system and build it with
minimal intervention once the tear-off tag's information's inserted
into your management systems [1].


[1] In an ideal world :)