>>>>> On Mon, 20 Mar 2006 09:48:57 +0100, Björn Torkelsson <[EMAIL PROTECTED]> 
>>>>> said:

    > Left to do is to extend fai-chboot to create the template files (should
    > they end in .tmpl? Right now we don't use and file extension), but that
    > shouldn't be that hard. Currently we are creating the template by either
    > using fai-chboot to copy from a host config to the template and/or
    > writing it by hand.
I think this is also a good idea to just copy a hand made
template. What about a new flag -c <name> that copies an existing
pxeconfig to a new file. Example

fai-chboot -c cluster host01 host02

This would copy the pxelinux.cfg file /boot/fai/pxelinux.cfg/cluster 
to the config files for host01 and host02 (file names in hex). If
/boot/fai/pxelinux.cfg/cluster does not exist but the host name
cluster can be resolved to an IP address, then copy the file with the
IP address of cluster in hex to host01 and host02 config files.

-- 
regards Thomas

Reply via email to