Found out that grub2-mkconfig is not a direct equivalent to update-grub on Debian-based systems :)
This is what update-grub actually does:
cat /usr/sbin/update-grub
#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"
So just executing grub2-mkconfig on RHEL-based distributions outputs the contents to stdout and that's it...
I'm using the symlink in /etc I verified its existence in CentOs 7 and RHEL 8 so I believe CentOS 8 and RHEL7 should work the same. It's also in the product documentation
In the current state, this playbook does not configure any RHEL system properly so I believe this fix is rather urgent.
Hi team,
Found out that grub2-mkconfig is not a direct equivalent to update-grub on Debian-based systems :)
This is what update-grub actually does:
So just executing grub2-mkconfig on RHEL-based distributions outputs the contents to stdout and that's it...
I'm using the symlink in
/etc
I verified its existence in CentOs 7 and RHEL 8 so I believe CentOS 8 and RHEL7 should work the same. It's also in the product documentationIn the current state, this playbook does not configure any RHEL system properly so I believe this fix is rather urgent.
Thank you.