On Wed, Jan 12, 2005 at 11:17:46PM +1300, Peter wrote:
> The command run when cad is hit is handled by /etc/inittab.  Change the 
> guest /etc/inittab entry for cad from shutdown -r (for reboot) to 
> shutdown -h (for halt, rather than reboot).
> 
> [EMAIL PROTECTED] wrote:
> >What is the best way to do a mass shutdown of all Guests?

I've posted an init script some while ago. You need the above uml
modifications too.
It sends cad to the uml running in a "screen" and then waits until the
uml process returns. This way no filesystem corruption can occur.
However there may be problems when anuml hangs on shutdown.
Would be a good idea to add a hard kill after some minutes to the
script.

Search the ml archive for my posting.

-- 
Facts do not cease to exist because they are ignored.
  - Aldous Huxley


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to