summaryrefslogtreecommitdiff
path: root/devstack/lib/ironic
diff options
context:
space:
mode:
Diffstat (limited to 'devstack/lib/ironic')
-rw-r--r--devstack/lib/ironic2
1 files changed, 1 insertions, 1 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic
index 01588bf23..c883f25ff 100644
--- a/devstack/lib/ironic
+++ b/devstack/lib/ironic
@@ -975,7 +975,7 @@ function install_ironic {
install_apache_wsgi
fi
- if [[ "$IRONIC_BOOT_MODE" == "uefi" ]]; then
+ if [[ "$IRONIC_BOOT_MODE" == "uefi" && "$IRONIC_IS_HARDWARE" == "False" ]]; then
# Append the nvram configuration to libvirt if it's not present already
if ! sudo grep -q "^nvram" /etc/libvirt/qemu.conf; then