diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index f55899fa6..7710682c3 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -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"