put yum upgrade back to fix defect 3215, however, this will break Mellanox drivers because Melanox repaces some of the os rpms with its own.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
1735e36913
commit
5717142c87
@ -479,13 +479,12 @@ while [ $op_index -le $OTHERPKGS_INDEX ]; do
|
||||
|
||||
#now update all the existing rpms
|
||||
if [ $hasyum -eq 1 ]; then
|
||||
#echo "yum -y upgrade"
|
||||
#result=`yum -y upgrade 2>&1`
|
||||
#logger -p local4.info -t xcat "$result"
|
||||
#if [ $? -ne 0 ]; then
|
||||
echo "yum -y upgrade"
|
||||
result=`yum -y upgrade 2>&1`
|
||||
logger -p local4.info -t xcat "$result"
|
||||
if [ $? -ne 0 ]; then
|
||||
#logger -p local4.info -t xcat "otherpkgs: $result"
|
||||
#fi
|
||||
#echo "$result"
|
||||
fi
|
||||
echo "result"
|
||||
elif [ $haszypper -eq 1 ]; then
|
||||
echo "zypper --non-interactive update --auto-agree-with-license"
|
||||
|
Loading…
Reference in New Issue
Block a user