Blame tests/p_anaconda/anaconda_centos_patch.sh

Athmane Madjoudj a2faee
#!/bin/sh
Athmane Madjoudj a2faee
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj a2faee
Athmane Madjoudj a2faee
t_Log "Running $0 - CentOS Anaconda patch is applied test."
Athmane Madjoudj a2faee
20a4c0
if [ "$centos_ver" = "7" ];then
20a4c0
  ANACONDA_PATH=/usr/lib64/python2.7/site-packages/pyanaconda/
87eada
  ANACONDA_FILE="centos.py"
20a4c0
else
20a4c0
  ANACONDA_PATH=/usr/lib/anaconda/
87eada
  ANACONDA_FILE="rhel.py"
20a4c0
fi
Athmane Madjoudj a2faee
Athmane Madjoudj a2faee
9be40f
grep "CentOS Linux" $ANACONDA_PATH/installclasses/$ANACONDA_FILE >/dev/null 2>&1 
Athmane Madjoudj a2faee
Athmane Madjoudj a2faee
Athmane Madjoudj a2faee
t_CheckExitStatus $?