diff --git a/templates/firstboot.sh.j2 b/templates/firstboot.sh.j2 index b60dc85d41b2dceea39e9e50b53e9c35344bbeaf..45ec2e53a708c862d790454830bdc8085586ec74 100644 --- a/templates/firstboot.sh.j2 +++ b/templates/firstboot.sh.j2 @@ -23,18 +23,18 @@ do done yum makecache 2>&1 >> $LOGFILE -yum install -y python2-ansible-tower-cli 2>&1 >> $LOGFILE +# yum install -y python3 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 +# wget -O ~/.tower_cli.cfg {{ kickstart_url }}/tower_cli.cfg 2>&1 >> $LOGFILE +# chmod 600 ~/.tower_cli.cfg 2>&1 >> $LOGFILE wget -O /tmp/awxconf {{ kickstart_url }}/awx_cli_config 2>&1 >> $LOGFILE source /tmp/awxconf rm /tmp/awxconf -{{ autoinstall_awxkit_path }} -k job_template launch "{{ autoinstall_post_reboot_job }}" --limit `hostname -f` --monitor --extra_vars "@extra.yaml" 2>&1 >> $LOGFILE +{{ autoinstall_awxkit_path }} -k job_template launch "{{ autoinstall_post_reboot_job }}" --limit `hostname -f` 2>&1 >> $LOGFILE -#cp /etc/crontab /root/crontab.reboot 2>&1 >> $LOGFILE +# cp /etc/crontab /root/crontab.reboot 2>&1 >> $LOGFILE mv /root/crontab.bkp /etc/crontab 2>&1 >> $LOGFILE echo "end of firstboot" 2>&1 >> $LOGFILE rm -f $0