Kickstart: do not setup user at first boot and set graphical as default target

This commit is contained in:
Daniel Pätzold
2026-04-22 21:30:52 +02:00
parent 35b6e1ee1a
commit 30bad95316
2 changed files with 7 additions and 2 deletions
+4 -2
View File
@@ -82,8 +82,6 @@ nss-pam-ldapd
# System authorization information # System authorization information
authselect enable-feature with-fingerprint authselect enable-feature with-fingerprint
# Run the Setup Agent on first boot
firstboot --enable
# Generated using Blivet version 3.12.1 # Generated using Blivet version 3.12.1
ignoredisk --only-use=sda ignoredisk --only-use=sda
@@ -95,6 +93,10 @@ autopart --type=btrfs
# Root password # Root password
# This Password is completely unknown to anyone. After installation, the PC should be Member of Domain and the users may use sudo to become superuser. # This Password is completely unknown to anyone. After installation, the PC should be Member of Domain and the users may use sudo to become superuser.
rootpw --iscrypted $y$j9T$jpKVkxaFqL6GH6GAgB0Yb/$oc.rfZgnHNlTAIj/boJeI.ZFf1QHvMF7fymZww9bzE3 rootpw --iscrypted $y$j9T$jpKVkxaFqL6GH6GAgB0Yb/$oc.rfZgnHNlTAIj/boJeI.ZFf1QHvMF7fymZww9bzE3
#user --name=none
# Do not run the Setup Agent on first boot because it will complain about missing user account which we dont want
firstboot --disable
%post --log=/root/ks-post.log %post --log=/root/ks-post.log
mkdir /opt/sys_config mkdir /opt/sys_config
+3
View File
@@ -131,6 +131,9 @@ install_sw()
#Set openh264 enabled #Set openh264 enabled
dnf config-manager setopt fedora-cisco-openh264.enabled=1 dnf config-manager setopt fedora-cisco-openh264.enabled=1
# Set default runlevel to graphical logon
systemctl set-default graphical.target
} }
ipa_register_host() ipa_register_host()