diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 0b9f5808ac..01588bf235 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -1127,7 +1127,7 @@ function configure_ironic_dirs { setup_syslinux_modules fi - if [[ "$IRONIC_BOOT_MODE" == "uefi" ]]; then + if [[ "$IRONIC_BOOT_MODE" == "uefi" && "$IRONIC_IS_HARDWARE" == "False" ]]; then local uefi_boot_file local uefi_loader local uefi_nvram