@see https://github.com/CentOS/sig-cloud-instance-images/issues/77#issuecomment-
295490209
\
\
echo "===> Installing EPEL..." && \
- yum -y install epel-release && \
+ yum -y \
+ --exclude=openssh-* --exclude=policycoreutils* --exclude=libsemanage-* --exclude=selinux-* --exclude=iputils \
+ install epel-release && \
yum -y update && \
\
\
\
\
echo "===> Installing EPEL..." && \
- yum -y install epel-release && \
+ yum -y \
+ --exclude=openssh-* --exclude=policycoreutils* --exclude=libsemanage-* --exclude=selinux-* --exclude=iputils \
+ install epel-release && \
yum -y update && \
\
\