mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-21 12:41:25 +00:00
do not overwrite the grub wrapper
This commit is contained in:
parent
ccb65282cd
commit
d73e753339
@ -182,7 +182,7 @@ sub run {
|
||||
# messages, which screw up some needles
|
||||
assert_script_run 'sed -i -e "s,\(GRUB_CMDLINE_LINUX.*\)\",\1 console=tty0 quiet\",g" ' . $mount . '/etc/default/grub';
|
||||
# regenerate the bootloader config
|
||||
assert_script_run "chroot $mount grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg";
|
||||
assert_script_run "chroot $mount grub2-mkconfig -o /boot/grub2/grub.cfg";
|
||||
}
|
||||
if (grep { $_ eq 'abrt' } @actions) {
|
||||
# Chroot in the newly installed system and switch on ABRT systemwide
|
||||
|
Loading…
Reference in New Issue
Block a user