One-time net-install
Hi guys, does anyone has a tip/trick how to do one-time net-install. I'm currently using fai-chboot to enable netinstall on a machine, and reboot it. Then I wait until I see in faimond that the machine started installation, so I again fire up fai-chboot to disable netinstall on that machine (ie. next time machine boots, it will do localboot). Is there a way to simplify this? I would like to use fai-chboot once... Cheers, Nikola
Re: One-time net-install
Hi Nikola Knežević wrote: > Hi guys, > > does anyone has a tip/trick how to do one-time net-install. I'm > currently using fai-chboot to enable netinstall on a machine, and reboot > it. Then I wait until I see in faimond that the machine started > installation, so I again fire up fai-chboot to disable netinstall on > that machine (ie. next time machine boots, it will do localboot). Is > there a way to simplify this? I would like to use fai-chboot once... > We simply let the node rsh/ssh into the FAI server and call fai-chboot on themselves, work pretty good unless you forget to update .rhosts or hosts.allow for a new group of hosts ;) HTH CArsten
Re: One-time net-install
>>>>> On Tue, 21 Oct 2008 17:16:36 +0200, Nikola Kne$,1!>(Bevi$,1 '(B >>>>> <[EMAIL PROTECTED]> said: > does anyone has a tip/trick how to do one-time net-install. I'm > currently using fai-chboot to enable netinstall on a machine, and > reboot it. Then I wait until I see in faimond that the machine started > installation, so I again fire up fai-chboot to disable netinstall on > that machine (ie. next time machine boots, it will do localboot). Is > there a way to simplify this? I would like to use fai-chboot once... You have to define LOGUSER and then call fai-setup. Then everything should be set up (ssh keys) so that each install client can log into you install server and call fai-chboot. You can also use faimond -b. -- regards Thomas
Re: One-time net-install
hiya Nikola KneževiÄ schrieb: > does anyone has a tip/trick how to do one-time net-install. see attached file. It is our default pxelinux.cfg file. (hostname of our faiserver has been replaced with a placeholder, apart from that no modifications) Every server boots from net by default. On first install you have to be quick (15seconds) to interrupt the bootprocess and choose an installation, on subsequent boots -> just wait for the timeout. That way you don't have to give write-access to "everybody" so they may be able to juggle around pxeconfigs. If a reinstallation is necessary, nothing has to be changed. tschüß thomas P.S.: works for me ;P default Description: Binary data
Re: One-time net-install
> On Wed, 22 Oct 2008 15:11:52 +0200, Nikola Kne$,1!>(Bevi$,1 '(B > <[EMAIL PROTECTED]> said: > BTW, how can I pass the name of the kernel to fai-chboot so it can set > proper kernel line in pxelinux.cfg? man fai-chboot Look at option -s > corresponding pxelinux.cfg entry? I think I may encountered that the > machine with .disable refused to do localboot!? Call fai-chboot -o default once (also explained in the man page). -- regards Thomas