Re: yum in kickstart %post and HP Insight Mgr

"Nathan Hruby" <[email protected]>
Newsgroups gmane.linux.rpm.yum,gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
On Fri, Nov 7, 2008 at 9:08 AM, Seth Vidal <[email protected]> wrote:
>> more than 3 years later, is there a solution to this?  We have a bunch of
>> HP servers and I'm working to make the installs as automated as possible and
>> I'd like to end up with a system with all the HP packages installed after
>> anaconda finishes...   How are you guys now proceeding?
>>
>>
> 1. did anyone tell hp about this and get them to fix their packages?
>
> 2. if you know which packages it is you're worried about and you know
> there's nothing else running in their %scriptlets then you could install
> those pkgs w/yum using a yum.conf with tsflags=noscripts under [main].
>

The question is, does HP care?  The last time I used hpasm and
friends, HP wanted you to install them using their "insightpaq" bundle
and installer or something similar.  I think their "supported" method
still requires at least running under the actual boot kernel because
it did some kind of kernel module futzing in the scriptlet or at
startup.  Minimally, I think they make the assumption that userspace
is more standard than what's found during %post in kickstart.

Me personally?  This is a task for cfengine or puppet at first boot.
Failing that, perhaps this might work around the problem in %post:

    nohup yum -y install $hpstuffola 2&>1 > /dev/null < /dev/null &

HTH, and why yes, I'm still having coffee

-n

-- 
-------------------------------------------
nathan hruby <[email protected]>
metaphysically wrinkle-free
-------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.