executing custom bash script

Holger Parplies wfai at parplies.de
Fri Jul 18 16:28:44 CEST 2008


Hi,

venne wrote on 2008-07-16 18:36:48 +0200 [Re: executing custom bash script]:
> [...]
> I think, I would make my clown desktops quickly, and install a urgl bash 
> script making custom works. that would be more simple, right?

wrong? :-)

Basically, if a script can do the work once the machine is pre-installed to be
a "generic clone", it can do it too during the installation (right at the end,
for example).

Basically, if you can enter the values you need interactively for "hundreds of
machines", you can pre-enter them for those machines too (which is probably
easier, presuming you can "cut&paste" to some extent). The only problem is to
identify the machines by MAC address (which isn't too hard if you look into
the relevant log on the DHCP server - /var/log/syslog on Debian etch - for
DHCPDISCOVER requests while the machine is booting). Isn't that something you
really want to do anyway? Possible uses: security (noticing foreign machines
plugged into your network), wake-on-lan, fully automatic reinstallation of
crashed machines (swap broken hard disk, fai-chboot, boot machine, wait a few
minutes, done) without the risk of getting the values wrong in the heat of the
situation.

Of course it depends on your individual situation, how much work you can,
should and want to put into saving yourself future work.

Regards,
Holger


More information about the linux-fai mailing list