Add installation of epel-release

clustershell is provided by epel-release, so we need to install
epel-release before installing clustershell.

Change-Id: Ide471d6b3501ea39d561f599c5a87ac487c41392
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
This commit is contained in:
Zhijiang Hu 2017-04-21 05:36:29 -04:00
parent 3498cb5cdf
commit f70d46946a
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ function all_install
rm -rf /root/.my.cnf
[ "$?" -ne 0 ] && { write_install_log "Error:can not rm of /root/.my.cnf file"; exit 1; }
write_install_log "install epel-release rpm"
install_rpm_by_yum "epel-release"
write_install_log "install fping rpm"
install_rpm_by_yum "fping"