diff options
author | Jonathan Bauer | 2018-02-08 12:14:30 +0100 |
---|---|---|
committer | Jonathan Bauer | 2018-02-08 12:14:30 +0100 |
commit | a530a0e39a7f73dcecaa965623b53a21765a05f3 (patch) | |
tree | 4d7cd6bddbb6d9301b1287f07c2afa0669240cd7 /http | |
parent | centos-7.4-x86_64.json: change kickstart file to 7.4 (diff) | |
download | packer-templates-a530a0e39a7f73dcecaa965623b53a21765a05f3.tar.gz packer-templates-a530a0e39a7f73dcecaa965623b53a21765a05f3.tar.xz packer-templates-a530a0e39a7f73dcecaa965623b53a21765a05f3.zip |
[centos-7.3] epel-release via yum
Diffstat (limited to 'http')
-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 |