newer version of flat-dmd

with virt-manager autolaunch
This commit is contained in:
lukas 2021-09-11 11:47:52 +02:00
parent 839e1c10a8
commit 9174ece8d3

View File

@ -43,16 +43,9 @@ localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be p
dnf update -y # Update the system dnf update -y # Update the system
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub otherwise the system won't boot properly grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub otherwise the system won't boot properly
# In the %post section of the kickstart file, add the following as the first line: # In the %post section of the kickstart file, add the following as the first line. Probably useless : leaving this uncommented for the moment
# See : https://www.opensourceforu.com/2010/01/roll-out-a-fedora-remix/ # See : https://www.opensourceforu.com/2010/01/roll-out-a-fedora-remix/
sed -i -e 's/Generic release/LFY Fedora Remix/g' /etc/fedora-release /etc/issue # sed -i -e 's/Generic release/LFY Fedora Remix/g' /etc/fedora-release /etc/issue
%end
%post --nochroot --logfile=/mnt/sysimage/root/bdmd.log
# set new default background (doesn't work. Would have to call a script on first boot or something)
# gsettings set org.gnome.desktop.background picture-uri file://mnt/sysimage/usr/share/backgrounds/elementary/default
%end %end
@ -60,6 +53,17 @@ sed -i -e 's/Generic release/LFY Fedora Remix/g' /etc/fedora-release /etc/issue
truncate -s 0 /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf # remove content of vendor.conf so that all options are made available truncate -s 0 /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf # remove content of vendor.conf so that all options are made available
# set new default background (doesn't work. Would have to call a script on first boot or something)
# gsettings set org.gnome.desktop.background picture-uri file://mnt/sysimage/usr/share/backgrounds/elementary/default
# Autostart virt-manager
cat << EOF > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop
[Desktop Entry]
Type=Application
Name=Virtual Machine Manager
Exec=virt-manager
EOF
%end %end
%packages --exclude-weakdeps %packages --exclude-weakdeps
@ -75,6 +79,7 @@ gnome-initial-setup
gnome-shell gnome-shell
gnome-terminal gnome-terminal
nano nano
neofetch
pciutils pciutils
qemu-guest-agent qemu-guest-agent
spice-vdagent spice-vdagent