mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-12-22 10:08:30 +00:00
disable initial-setup in the KDE upgrade disk images
we don't want it (a realistic upgrade scenario would not involve initial-setup getting in the way) and it seems to mess up boot sometimes (i-s crashes on start if the system wasn't installed via anaconda, and that seems to be causing the failed boots sometimes).
This commit is contained in:
parent
a1bef836d7
commit
fc57ccdecc
@ -3,5 +3,7 @@ update
|
|||||||
selinux-relabel
|
selinux-relabel
|
||||||
install @kde-desktop-environment
|
install @kde-desktop-environment
|
||||||
link /usr/lib/systemd/system/graphical.target:/etc/systemd/system/default.target
|
link /usr/lib/systemd/system/graphical.target:/etc/systemd/system/default.target
|
||||||
|
delete /etc/systemd/system/multi-user.target.wants/initial-setup-text.service
|
||||||
|
delete /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||||
firstboot-command useradd -m -p '' test
|
firstboot-command useradd -m -p '' test
|
||||||
firstboot-command echo 'test:weakpassword' | chpasswd
|
firstboot-command echo 'test:weakpassword' | chpasswd
|
||||||
|
Loading…
Reference in New Issue
Block a user