Valeri Galtsev
2017-Jan-10 22:02 UTC
[CentOS] How to avoid "firstboot" in CentOS 7 kickstart
Dear Experts,
Sorry about taking shortcut and asking everybody...
My question is: how do you avoid "firstboot" screen in latest CentOS
7.3
kickstart.
I have installed about a dozen of CentOS 7 (none of which was 7.3) with
that kickstart file. None of them ever went to firstboot screen on first
boot. Now after kickstart installation of CentOS 7.3 it goes into
firstboot screen showing two configuration options:
1. [x] License information
(license accepted)
2. [ ] User creation
(no user will be created
Please, make your choice from the above { quit, continue or refresh }
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
(I always were creating one regular user in a post install section, which
I do have in this KS file, and that user is successfully created)
Thanks for all your help!
Valeri
++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++
Ian Mortimer
2017-Jan-11 04:47 UTC
[CentOS] How to avoid "firstboot" in CentOS 7 kickstart
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 --agreedYou could try adding in your %packages stanza: -firstboot -- Ian
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-0001.sig>