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

2017-01-11 Thread Valeri Galtsev
On Wed, January 11, 2017 9:36 am, Gordon Messmer wrote: > On 01/11/2017 05:22 AM, Tru Huynh wrote: >> %post >> # workaround required but should be handled by anaconda. imho >> systemctl disable initial-setup-graphical.service > First of all, thanks everybody who answered, I'm going through all

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

2017-01-11 Thread isdtor
> Has this been tested? My understanding is that systemctl doesn't work in > chroots, and can't be used in %post. I've certainly used it that way in Fedora. chroot /mnt/systemimage systemctl --no-reload disable ... ___ CentOS mailing list

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

2017-01-11 Thread Gordon Messmer
On 01/11/2017 05:22 AM, Tru Huynh wrote: %post # workaround required but should be handled by anaconda. imho systemctl disable initial-setup-graphical.service Has this been tested? My understanding is that systemctl doesn't work in chroots, and can't be used in %post. Regardless of that,

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

2017-01-11 Thread Tru Huynh
On Wed, Jan 11, 2017 at 04:47:49AM +, 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

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

2017-01-10 Thread Ian Mortimer
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

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

2017-01-10 Thread Valeri Galtsev
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