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@centos.org
https://lists.centos.org/mailman/listinfo/centos

Reply via email to