On Thu, 11 Jun 2009, Peter Tribble wrote: > On Thu, Jun 11, 2009 at 4:33 AM, Alok Aggarwal<Alok.Aggarwal at sun.com> > wrote: >> There will be a meeting tomorrow to discuss the issues >> and possible solutions around the accidental reboot/ >> powercycle of the AI client. More info on this is at - >> >> http://opensolaris.org/os/project/caiman/auto_install/ai_design/ai.client.reboot.txt > > There are two cases here. > > sparc: > > There should never be an issue. The user should need to invoke the > installation > specifically. So, > > boot net - install --> invokes AI > boot net --> doesn't invoke AI > > If AI is invoked during a normal 'boot net' then that's a bug.
AI is invoked by doing "boot net:dhcp". However, as Jan pointed out, since the boot device is set to disk upon a successful sparc install, accidental reboot resulting in AI is less of an issue. > So an accidental reboot off the network shouldn't be an issue. > > x86: > > The problem here is that there isn't a way to toggle the install > behaviour. If you > look at the current (jumpstart) installer, by default the client asks > whether to run > jumpstart or not. > > The way I solve this in jumpstart is to edit the menu.lst file that's > supplied to the > client and add the 'install' flag as an argument to the kernel if I > want it to be truly > hands-off. Then I have to remember to set it back to the default so I > don't do an > accidental reinstall later. > > What I would like to see as a solution for this issue is some way to > easily toggle > this on the server (easier than editing files). And if we have an > 'intelligent' server, > then a setting that says 'just deliver it this way once' that you can > select, so that it > then automatically resets back to default for subsequent boots (until you > select > that option again). So, how about having such a setting in the AI manifest that works in conjunction with the AI client to provide the "just install this version of the OS once on this client" behavior? Would something like that work? Alok