Interactive in %post?

Michael Shuler mshuler at rackspace.com
Tue Jan 3 20:38:00 UTC 2006


Matt Sturtz wrote:
> I tried this on my system, and I can switch to TTY2 and see the shell
> running, but don't seem to have any control over it...  Is it more
> complicated than just putting "/bin/bash" on a line by itself?  Which TTY
> should the shell be showing up on?

It will show up where you tell it to, or in your current TTY  ;)

Try running %post on the first unused TTY:

%post
# change to new vt and set stout/stdin
exec < /dev/tty6 > /dev/tty6
chvt 6

# write or make calls to post-install scripts here

# change back to first vt
chvt 1

-- 
Kind Regards,
Michael Shuler
Rackspace Managed Hosting




More information about the Kickstart-list mailing list