Configure Hypervisor For UEFI Instance Boot

Problem

  • Unified Extensible Firmware Interface (UEFI) is a standard firmware designed to replace legacy BIOS.

  • By default, an instance boots in BIOS mode.

Environment

  • Platform9 Managed OpenStack - v3.6.0 and Higher

  • Ubuntu 16.04

  • CentOS 7.4 and Higher

Procedure

  1. Install OVMF

  • Ubuntu

# openstack image set # apt install ovmf--property hw_firmware_type=uefi [image UUID]
  • Centos

# yum install OVMF -y

# cd /usr/share/OVMF && ln -s OVMF_CODE.secboot.fd OVMF_CODE.fd
  1. Add hw_firmware_type image metadata to the UEFI image to indicate the firmware type used to boot the instance.

  1. Boot the instance using the UEFI image.

Last updated