|
|
|
@ -5,7 +5,7 @@ firewall --disabled
|
|
|
|
|
firstboot --enabled
|
|
|
|
|
|
|
|
|
|
# Enable/Disable services
|
|
|
|
|
services --enabled=lightdm,avahi-daemon,cpupower,irqbalance,dbus,sshd,cups,smb,wsdd,systemd-resolved,NetworkManager
|
|
|
|
|
services --enabled=gdm,avahi-daemon,cpupower,irqbalance,dbus,sshd,cups,smb,wsdd,systemd-resolved,NetworkManager
|
|
|
|
|
|
|
|
|
|
# partition
|
|
|
|
|
part / --size 12268 --fstype ext4
|
|
|
|
@ -62,14 +62,19 @@ find /boot -name 'vmlinuz-*' | sort -u | while read -r line ; do
|
|
|
|
|
done
|
|
|
|
|
find /boot -name 'initrd-*' -print
|
|
|
|
|
|
|
|
|
|
# autologin lightdm and session default xfce
|
|
|
|
|
cat > /etc/anaconda-scripts.d/livecd-init/rosa-xfce-live-lightdm.sh << 'EOF'
|
|
|
|
|
CONF=/etc/lightdm/lightdm.conf.d/rosa-xfce-live.conf
|
|
|
|
|
echo "autologin-user=live" >> "$CONF"
|
|
|
|
|
echo "autologin-user-timeout=0" >> "$CONF"
|
|
|
|
|
echo "user-session=xfce" >> "$CONF"
|
|
|
|
|
# https://help.gnome.org/admin/gdm/stable/configuration.html.en#sessionconfig
|
|
|
|
|
# https://help.gnome.org/admin/system-admin-guide/stable/login-automatic.html.en
|
|
|
|
|
cat > /etc/anaconda-scripts.d/livecd-init/rosa-xfce-gdm-setup.sh << 'EOF'
|
|
|
|
|
echo "[Desktop]
|
|
|
|
|
Session=xfce" > /home/live/.dmrc
|
|
|
|
|
chown live:live /home/live/.dmrc
|
|
|
|
|
echo "[daemon]
|
|
|
|
|
AutomaticLoginEnable=True
|
|
|
|
|
AutomaticLogin=live" > /etc/gdm/custom.conf
|
|
|
|
|
EOF
|
|
|
|
|
chmod +x /etc/anaconda-scripts.d/livecd-init/rosa-xfce-live-lightdm.sh
|
|
|
|
|
chmod +x /etc/anaconda-scripts.d/livecd-init/rosa-xfce-gdm-setup.sh
|
|
|
|
|
|
|
|
|
|
( cd /etc/systemd/system && ln -sf gdm.service display-manager.service )
|
|
|
|
|
|
|
|
|
|
%end
|
|
|
|
|
|
|
|
|
|