[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Interactive in %post?



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]