[CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

Thu Jun 10 14:05:07 UTC 2010
Zhang Huangbin <zhbmaillistonly at gmail.com>

On Jun 10, 2010, at 12:16 AM, John Doe wrote:
> 
> I fixed it with some execs:
> 
> chvt 3
> exec < /dev/tty3 > /dev/tty3
> /tmp/misc/ks_pre.sh | tee /tmp/ks_pre.log 2>&1
> chvt 1
> exec < /dev/tty1 > /dev/tty1

Thanks John.

It now display dialog pages, but it can't switch to tty1 via 'chvt 1', and/or display further messages in tty3. Any idea?