From a530a0e39a7f73dcecaa965623b53a21765a05f3 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 8 Feb 2018 12:14:30 +0100 Subject: [centos-7.3] epel-release via yum --- http/centos-7.3/anaconda-ks.cfg | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'http') diff --git a/http/centos-7.3/anaconda-ks.cfg b/http/centos-7.3/anaconda-ks.cfg index c75033c..1026914 100644 --- a/http/centos-7.3/anaconda-ks.cfg +++ b/http/centos-7.3/anaconda-ks.cfg @@ -39,10 +39,9 @@ with open('/tmp/setup-root-pass', 'w') as f: %post --erroronfail yum -y update -yum -y install wget -wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -rpm -ivh epel-release-latest-7.noarch.rpm +yum -y install epel-release yum -y install ansible +yum -y update # allow root login for ansible sed 's,^[[:blank:]]*#*PermitRootLogin.*,PermitRootLogin yes,g' /etc/ssh/sshd_config -- cgit v1.2.3-55-g7522