From 1fcd7a477d1d45febf1a444fb8ff4c04f91660a2 Mon Sep 17 00:00:00 2001 From: michaeltchapman Date: Thu, 11 Jul 2019 01:22:56 +1000 Subject: [PATCH] Don't install ubuntu efi debs on cent Recently shim and grub-efi-amd64-signed were moved from debs to be installed by lib/ironic, which causes errors since the latter does not exist for rpm based distros. Change-Id: I87c5268bdd23c4978201b4b7cb2e4a4770190828 --- devstack/lib/ironic | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/devstack/lib/ironic b/devstack/lib/ironic index c883f25ff7..4c29fc08b7 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -510,7 +510,11 @@ 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 + if is_ubuntu; then + install_package grub-efi-amd64-signed + elif is_fedora; then + install_package grub2-efi + fi fi # Sanity checks