ORIGINAL_DIR=`pwd`
wget "http:///install/rocks-dist/lan/x86_64/RedHat/RPMS/compat-libstdc++-33-3.2.3-47.3.i386.rpm"
rpm -ivh compat-libstdc++-33-3.2.3-47.3.i386.rpm >> /root/omsa-install.log 2>&1
echo "----- /etc/redhat-release before modification -----" >> /root/omsa-install.log 2>&1
cat /etc/redhat-release >> /root/omsa-install.log 2>&1
grep Nahant /etc/redhat-release
if [ "$?" = "1" ]; then
echo Nahant >> /etc/redhat-release
fi
echo "----- /etc/redhat-release after modification -----" >> /root/omsa-install.log 2>&1
cat /etc/redhat-release >> /root/omsa-install.log 2>&1
cd /scratch
rm -rf OpenManage-5.5
mkdir OpenManage-5.5
cd OpenManage-5.5
echo "----- Getting and unzipping OMSA -----" >> /root/omsa-install.log 2>&1
wget "http:///install/rocks-dist/lan/x86_64/RedHat/RPMS/OM_5.5.0_ManNode_A00.tar.gz"
tar -xzvf OM_5.5.0_ManNode_A00.tar.gz >> /root/omsa-install.log 2>&1
cd $ORIGINAL_DIR