mirror of
https://pagure.io/fedora-kickstarts.git
synced 2026-01-23 16:36:04 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user