[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: yum in kickstart %post and HP Insight Mgr
- From: Tom Brown <tom ng23 net>
- To: Discussion list about Kickstart <kickstart-list redhat com>
- Cc: yum lists dulug duke edu
- Subject: Re: yum in kickstart %post and HP Insight Mgr
- Date: Tue, 11 Nov 2008 15:13:04 +0000
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].
i have not come across this issue before and apart from my case being
rubbish this is how i automate hardware monitoring rpm installation at
kickstart time and it works fine for me, although yes, not using yum....
# Install the distro specific monitoring
VENDOR=`dmidecode | grep Vendor | awk '{print$2}'`
DISTRO=`cat /etc/redhat-release | awk {'print$7'}`
ARCH=`uname -i`
OSTYPE=`echo $VENDOR$DISTRO$ARCH`
case "$OSTYPE" in
Dell4i386)
wget
http://@@server@@/cobbler/ks_mirror/posts/openmanage-5.2.tar.gz -O
/tmp/openmanage.tar.gz && tar zxfv /t
mp/openmanage.tar.gz -C /tmp &&
/tmp/5.2/linux/supportscripts/srvadmin-install.sh -x ; rm -rf /tmp/5.2
/tmp/openmanage.tar.gz
;
;;
Dell5.2i386)
wget
http://@@server@@/cobbler/ks_mirror/posts/openmanage-5.2.tar.gz -O
/tmp/openmanage.tar.gz && tar zxfv /t
mp/openmanage.tar.gz -C /tmp &&
/tmp/5.2/linux/supportscripts/srvadmin-install.sh -x ; rm -rf /tmp/5.2
/tmp/openmanage.tar.gz
;
;;
Dell4x86_64)
wget
http://@@server@@/cobbler/ks_mirror/posts/openmanage-5.2.tar.gz -O
/tmp/openmanage.tar.gz && tar zxfv /t
mp/openmanage.tar.gz -C /tmp &&
/tmp/5.2/linux/supportscripts/srvadmin-install.sh -x ; rm -rf /tmp/5.2
/tmp/openmanage.tar.gz
;
;;
Dell5.2x86_64)
wget
http://@@server@@/cobbler/ks_mirror/posts/openmanage-5.2.tar.gz -O
/tmp/openmanage.tar.gz && tar zxfv /t
mp/openmanage.tar.gz -C /tmp &&
/tmp/5.2/linux/supportscripts/srvadmin-install.sh -x ; rm -rf /tmp/5.2
/tmp/openmanage.tar.gz
;
;;
HP4i386)
rpm -i
http://@@server@@/cobbler/ks_mirror/posts/hpacucli-8.10-2.noarch.rpm
http://@@server@@/cobbler/ks_mirr
or/posts/hpasm-8.0.0-173.rhel4.i386.rpm && chkconfig hpasm on;
;;
HP5.2i386)
rpm -i
http://@@server@@/cobbler/ks_mirror/posts/hpacucli-8.10-2.noarch.rpm
http://@@server@@/cobbler/ks_mirr
or/posts/hpasm-8.0.0-173.rhel5.i386.rpm && chkconfig hpasm on;
;;
HP4x86_64)
rpm -i
http://@@server@@/cobbler/ks_mirror/posts/hpacucli-8.10-2.noarch.rpm
http://@@server@@/cobbler/ks_mirr
or/posts/hpasm-8.0.0-173.rhel4.x86_64.rpm && chkconfig hpasm on;
;;
HP5x86_64)
rpm -i
http://@@server@@/cobbler/ks_mirror/posts/hpacucli-8.10-2.noarch.rpm
http://@@server@@/cobbler/ks_mirr
or/posts/hpasm-8.0.0-173.rhel5.x86_64.rpm && chkconfig hpasm on;
;;
esac
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]