Centos 7 UEFI things

How to tell if you booted from a UEFI enabled machine

1dmesg | grep "EFI v"

When enabling net.ifnames=o

Edit /etc/default/grub

Ammend line GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=centos/root crashkernel=auto vconsole.keymap=us rhgb quiet net.ifnames=0`

Then run

1grub2-mkconfig  -o /boot/efi/EFI/centos/grub.cfg

or

1grub2-mkconfig -o /boot/grub2/grub.cfg