[CentOS] How to avoid "firstboot" in CentOS 7 kickstart

Wed Jan 11 13:22:12 UTC 2017
Tru Huynh <tru at centos.org>

On Wed, Jan 11, 2017 at 04:47:49AM +0000, Ian Mortimer wrote:
> On Tue, 2017-01-10 at 16:02 -0600, Valeri Galtsev wrote:
> 
> > My question is: how do you avoid "firstboot" screen in latest CentOS
> > 7.3
> > kickstart.
> > ...
> > Here are relevant lines from my kickstart that I assume should have
> > taken
> > care of everything (in the order of their appearance, I dropped
> > irrelevant
> > lines):
> > 
> > firstboot --disable
> > eula --agreed
> 
> You could try adding in your %packages stanza:
> 
> -firstboot
> 
https://bugs.centos.org/view.php?id=12584
...
%post
# workaround required but should be handled by anaconda. imho
systemctl disable initial-setup-graphical.service
..

Cheers

Tru
-- 
Tru Huynh 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20170111/1acd605d/attachment-0005.sig>