reinstate grub rebuilding at the beginning
This commit is contained in:
parent
ce56c92d7c
commit
dfebe0f30c
@ -41,7 +41,7 @@ part / --fstype="ext4" --grow --label=root
|
|||||||
|
|
||||||
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked.
|
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked.
|
||||||
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 # Unsure it is actually useful
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
@ -116,12 +116,6 @@ echo "options kvm_intel nested=1" >> /mnt/sysimage/etc/modprobe.d/kvm.conf # Add
|
|||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post --logfile=/root/bhi.log
|
|
||||||
|
|
||||||
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub otherwise the system won't boot properly
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post --nochroot --logfile=/mnt/sysimage/root/dhi.log
|
%post --nochroot --logfile=/mnt/sysimage/root/dhi.log
|
||||||
|
|
||||||
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
|
||||||
|
@ -41,7 +41,7 @@ part / --fstype="ext4" --grow --label=root
|
|||||||
|
|
||||||
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked.
|
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked.
|
||||||
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 # Unsure it is actually useful
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user