<div><div class="gmail_quote">2012/2/6 Ivan Reche <span dir="ltr"><<a href="mailto:ivan.reche@gmail.com">ivan.reche@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><div class="gmail_quote">2012/2/6 Andreas Schockenhoff <span dir="ltr"><<a href="mailto:asc@gmx.li" target="_blank">asc@gmx.li</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Dear Ivan,<br>
<br>
Am Sonntag, den 05.02.2012, 20:41 -0200 schrieb Ivan Reche:<br>
<div><div>> I'm using FAI to automatically install Debian Squeeze in a laptop of<br>
> mine. I've been able to do everything that I wanted by reading the<br>
> documentation, except for one thing: every time the installation<br>
> finishes (and the system reboots automatically, as I ask it to), the<br>
> recently installed client boots again through the LAN (as expected)<br>
> but begins the installation process again (something that I want to<br>
> avoid).<br>
> Is there an automatic way to make the client prevent itself from<br>
> reinstalling after the first install? I want it to install itself<br>
> again only if needed using the fai-chboot program, but not every time.<br>
<br>
</div></div>I use a different way: I have the hard disk as first boot device and<br>
after deleting the hard disk with dd. Next reboot the BIOS skip the hard<br>
disk and a fai netboot installs a new system.<br>
<br>
Some BIOS also have a key to select the boot device from list.<br>
<br>
regards Andreas<br>
<br>
<br>
</blockquote></div><br></div></div><div>How come I haven't thought about this? lol</div><div><br></div><div>Thanks for the tips. However, I'm gonna try the hook way of doing things as I might need them afterwards.</div>
<div>
<br></div></blockquote><div> </div></div>I've studied the proposed script but I can't seem to use it because ssh won't authenticate without interaction from the user. I've read somewhere that FAI should generate the keys needed to use ssh without password authentication automatically, but I couldn't find anything related to this in the documentation.<div>
<br></div><div>Does someone knows if it is possible to execute ssh commands in the server from an installation client? That would solve this issue for me.</div><div><br></div><div>Thanks in advance.</div></div>