Dropping to a shell in %post

Dan Carpenter error27 at gmail.com
Sat Jun 25 00:17:31 UTC 2005


On 6/24/05, Dan Trainor <info at hostinthebox.net> 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?

add these lines to your %post.

echo "Dropping to a shell"
open -c 8 bash
read tmp

The echo prints to tty3 so you probably won't see it...  Not sure how
to put stuff on the first tty.  This will pause the install until you
press Enter on the front screen.  You can switch to tty8 to do
whatever you want.

regards,
dan carpenter




More information about the Kickstart-list mailing list