diff --git a/templates/firstboot.sh.j2 b/templates/firstboot.sh.j2 index 702954a8e9b4779992bf75466e49949aaf7da73f..2054d4f054b93d5b123c87eb0b07777453cdf941 100644 --- a/templates/firstboot.sh.j2 +++ b/templates/firstboot.sh.j2 @@ -27,9 +27,9 @@ do sleep 2 done - yum makecache 2>&1 >> $LOGFILE yum install -y python2-ansible-tower-cli 2>&1 >> $LOGFILE +yum clean all 2>&1 >> $LOGFILE wget -O ~/.tower_cli.cfg {{ kickstart_url }}/tower_cli.cfg 2>&1 >> $LOGFILE chmod 600 ~/.tower_cli.cfg 2>&1 >> $LOGFILE