Use "systemctl set-default" to set the default target

This mimics what people actually are supposed to do on
running systems.
This commit is contained in:
Neal Gompa
2023-11-19 22:26:23 -05:00
parent c0884eadaf
commit c245ee3524
5 changed files with 5 additions and 9 deletions

View File

@@ -17,6 +17,6 @@ glibc-all-langpacks
%post
# Explicitly set graphical.target as default as this is how initial-setup detects which version to run
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
systemctl set-default graphical.target
%end