Dropping to a shell in %post

Philip Rowlands phr at doc.ic.ac.uk
Sat Jun 25 06:52:34 UTC 2005


On Fri, 24 Jun 2005, Dan Trainor wrote:

>Is it possible to drop to a sh shell in or after %post, so that I can
>poke around and get familiar with the %post enviornment to see about
>donig some things later on?

One method is to "sleep 3600" in the script and use the
anaconda-provided shell on VT2 (press Alt+F2). When done debugging, kill
the sleep process - repeat as necessary.

To see things exactly as %post (implied chroot) sees them, "chroot
/mnt/sysimage".


Cheers,
Phil




More information about the Kickstart-list mailing list