Nov
20
2017

Ansible: How to automate past “Initial setup of CentOS Linux 7” message

 

I recently came across an annoying issue with CentOS 7 setup.  I started with a minimal install, completed my installation(including mate desktop) and rebooted.  When I attached to the console of the newly minted VM I discovered it was stuck at a license prompt.  To avoid this issue…

systemctl list-unit-files | grep initial
initial-setup-graphical.service disabled
initial-setup-reconfiguration.service disabled
initial-setup-text.service disabled
initial-setup.service disabled

I only had to disable ‘initial-setup-graphical’ to bypass the message.

Ansible Playbook:

Obviously you want to change the hosts and vars_file.  Have a great day safely ignoring this annoying license!





No Comments »

RSS feed for comments on this post. TrackBack URL

Leave a comment