Starting GDM after a Kickstart installation
When installing CentOS7 from Kickstart, GDM is not starting at boot.This is because the default target is "multi-user":
ls -l /etc/systemd/system/default.target lrwxrwxrwx. 1 root root 41 Mar 24 01:53 /etc/systemd/system/default.target -> /usr/lib/systemd/system/multi-user.target
To solve this, I put these lines in the "%post" section:
%post rm /etc/systemd/system/display-manager.service rm /etc/systemd/system/default.target ln -sf /usr/lib/systemd/system/graphical.target /etc/systemd/system/default.target ln -sf /usr/lib/systemd/system/gdm.service /etc/systemd/system/display-manager.service %end