FreeBSD – vm-bhyve config for CentOS 7.6 1810

CentOS 7.6 1810 – has released with a buggy EFI loader … which throws MokListRT error, even with bhyve UEFI booting. Here is the grub loader on how to to boot the CentOS 7.6 1810 DVD ISO.

loader="grub"
grub_install0="linux /isolinux/vmlinuz LANG=en_US.UTF-8 KEYTABLE=us SYSFONT=latarcyrheb-sun16 console=ttyS0"
grub_install1="initrd /isolinux/initrd.img"
grub_run0="linux /vmlinuz-3.10.0-957.el7.x86_64 root=/dev/mapper/centos-root LANG=en_US.UTF-8 KEYTABLE=us SYSFONT=latarcyrheb-sun16 console=ttyS0"
grub_run1="initrd /initramfs-3.10.0-957.el7.x86_64.img"