diff options
-rw-r--r-- | http/centos-7.3/anaconda-ks.cfg | 5 |
1 files changed, 2 insertions, 3 deletions
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 |