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:
Adam Williamson 2016-05-06 12:43:33 -07:00
parent a1bef836d7
commit fc57ccdecc

View File

@ -3,5 +3,7 @@ update
selinux-relabel
install @kde-desktop-environment
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 echo 'test:weakpassword' | chpasswd