diff --git a/devstack/files/debs/ironic b/devstack/files/debs/ironic index d0b7ae42cd..50fa67d7f7 100644 --- a/devstack/files/debs/ironic +++ b/devstack/files/debs/ironic @@ -36,5 +36,3 @@ libvirt-dev socat ipxe-qemu jq -shim -grub-efi-amd64-signed diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 6c517ce28b..0b9f5808ac 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -507,6 +507,12 @@ IRONIC_UEFI_FILES_DIR=${IRONIC_UEFI_FILES_DIR:-/var/lib/libvirt/images} UEFI_LOADER_PATH=$IRONIC_UEFI_FILES_DIR/OVMF_CODE.fd UEFI_NVRAM_PATH=$IRONIC_UEFI_FILES_DIR/OVMF_VARS.fd +# Handle architecture specific package installs +if [[ $IRONIC_HW_ARCH == "x86_64" ]]; then + install_package shim + install_package grub-efi-amd64-signed +fi + # Sanity checks if [[ "$IRONIC_BOOT_MODE" == "uefi" ]]; then if [[ "$IRONIC_IPXE_ENABLED" == "False" ]] && [[ "$IRONIC_UEFI_BOOT_LOADER" != "grub2" ]]; then