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
This commit is contained in:
parent
691d3e4992
commit
1fcd7a477d
@ -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
|
||||
if is_ubuntu; then
|
||||
install_package grub-efi-amd64-signed
|
||||
elif is_fedora; then
|
||||
install_package grub2-efi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Sanity checks
|
||||
|
Loading…
x
Reference in New Issue
Block a user