Revert "Add logic to determine Ironic node is HW or not into configure_ironic_dirs"

This is due to a failure in the logic where the UEFI
firmware objects are copied along with the ipxe loader.

tl;dr we need to have two separate if statements.

This reverts commit 0913c94842.

Change-Id: Iaf78462a8b4abf4ad9c294c8575c67f5ade40a40
This commit is contained in:
Julia Kreger 2019-07-19 22:09:48 +00:00
parent 0913c94842
commit fb664d5188

View File

@ -1127,7 +1127,7 @@ function configure_ironic_dirs {
setup_syslinux_modules
fi
if [[ "$IRONIC_BOOT_MODE" == "uefi" && "$IRONIC_IS_HARDWARE" == "False" ]]; then
if [[ "$IRONIC_BOOT_MODE" == "uefi" ]]; then
local uefi_boot_file
local uefi_loader
local uefi_nvram