add dnf update and grub update

This commit is contained in:
lukas 2021-07-23 10:10:27 +02:00
parent b3ab875d39
commit e46c1d7542

View File

@ -47,6 +47,7 @@ pciutils # Pciutils provides lspci commandline tool and is not installed by defa
%post # Beginning of the post-installation section
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked.
# dnf update -y # Update the system NOTE : seems to bork the system. Will comment that out for now
dnf update -y # Update the system NOTE : seems to bork the system. Will comment that out for now
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub otherwise the system won't boot properly
# firstboot --reconfig kickstart # To launch the initial setup after the first boot
%end # End of the %post section