[Yum] Re: yum in kickstart %post and HP Insight Mgr

Brian Long brilong at cisco.com
Tue May 31 21:59:09 UTC 2005


On Tue, 2005-05-31 at 17:14 -0400, Harry Hoffman wrote:
> would this work?
> 
> yum groupinstall Insight-Manager >> /dev/tty3 2>&1

In order to log to a file and display to tty3 in parallel, I'm doing the
following kludge which appears to work better than tee.

chvt 3
touch /var/log/postinstall && (tail -0f /var/log/postinstall &)
yum groupinstall Insight-Manager >> /var/log/postinstall
chvt 1

This seems to work, but I don't like it that much  :)

/Brian/

-- 
       Brian Long                      |         |           |
       IT Data Center Systems          |       .|||.       .|||.
       Cisco Linux Developer           |   ..:|||||||:...:|||||||:..
       Phone: (919) 392-7363           |   C i s c o   S y s t e m s




More information about the Yum mailing list