How to reboot in %post?

Jos Vos jos at xos.nl
Fri Jul 1 07:31:32 UTC 2011


On Fri, Jul 01, 2011 at 12:12:09AM -0700, whitivery wrote:

> How can I cause a reboot in %post?  This is for CentOS 5.6 at the
> moment; would also want it for 5.5, Fedora 14, and others.

reboot is a kickstart option on itself, so outside %post (although
I never tried it IIRC).  Be sure this does not cause an endless
install loop (dependent on your install method).

-- 
--    Jos Vos <jos at xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204




More information about the Kickstart-list mailing list