[Devstack] Set DEFAULT_IMAGE_NAME variable

The logic of setting DEFAULT_IMAGE_NAME was moved to ironic
devstack plugin but original variable DEFAULT_IMAGE_NAME is
not set, while it is used by grenade.
This patch fixes setting DEFAULT_IMAGE_NAME in ironic devstack
plugin.

Change-Id: I245ca8acba14b550efe355e8a3afc8c81cdc4a23
This commit is contained in:
Vasyl Saienko 2017-01-26 11:42:37 +02:00
parent 2427c7b594
commit 4ac18ded05

View File

@ -555,6 +555,10 @@ else
IRONIC_IMAGE_NAME=${IRONIC_IMAGE_NAME/-disk/-uec}
fi
# NOTE(vsaienko) set DEFAULT_IMAGE_NAME here, as it is still used by grenade
# https://github.com/openstack-dev/grenade/blob/90c4ead2f2a7ed48c873c51cef415b83d655752e/projects/60_nova/resources.sh#L31
DEFAULT_IMAGE_NAME=$IRONIC_IMAGE_NAME
# Syslinux >= 5.00 pxelinux.0 binary is not "stand-alone" anymore,
# it depends on some c32 modules to work correctly.
# More info: http://www.syslinux.org/wiki/index.php/Library_modules