2023-03-22 20:34:30 +00:00
|
|
|
# rocky-live-cinnamon.ks
|
|
|
|
|
|
|
|
%include rocky-live-base-spin.ks
|
|
|
|
%include rocky-live-cinnamon-common.ks
|
|
|
|
|
|
|
|
part / --size 8192
|
|
|
|
|
|
|
|
%post
|
|
|
|
# cinnamon configuration
|
|
|
|
|
|
|
|
cat > /etc/sysconfig/desktop <<EOF
|
|
|
|
PREFERRED=/usr/bin/cinnamon-session
|
|
|
|
DISPLAYMANAGER=/usr/sbin/lightdm
|
|
|
|
EOF
|
|
|
|
|
2024-02-15 03:40:30 +00:00
|
|
|
sed -i 's/^livesys_session=.*/livesys_session="cinnamon"/' /etc/sysconfig/livesys
|
2023-03-22 20:34:30 +00:00
|
|
|
|
|
|
|
# this doesn't come up automatically. not sure why.
|
|
|
|
systemctl enable --force lightdm.service
|
|
|
|
|
|
|
|
# CRB needs to be enabled for EPEL to function.
|
|
|
|
dnf config-manager --set-enabled crb
|
|
|
|
|
|
|
|
%end
|