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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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, the graphical initial setup on 7.3 is probably provided by gnome-initial-setup under GDM, not by initial-setup-graphical at all. The only way I've been able to disable it is to remove that rpm entirely, which means that new users also don't get the initial-setup prompts when they log in for the first time.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux