Merge "Bypassing upload deploy ramdisk/kernel to glance when deploy iso is given"
This commit is contained in:
commit
1fcb6c52a2
@ -1897,6 +1897,7 @@ function upload_baremetal_ironic_deploy {
|
||||
fi
|
||||
|
||||
# load them into glance
|
||||
if ! is_deploy_iso_required; then
|
||||
IRONIC_DEPLOY_KERNEL_ID=$(openstack \
|
||||
image create \
|
||||
$ironic_deploy_kernel_name \
|
||||
@ -1913,7 +1914,7 @@ function upload_baremetal_ironic_deploy {
|
||||
< $IRONIC_DEPLOY_RAMDISK | grep ' id ' | get_field 2)
|
||||
die_if_not_set $LINENO IRONIC_DEPLOY_RAMDISK_ID "Failed to load ramdisk image into glance"
|
||||
|
||||
if is_deploy_iso_required; then
|
||||
else
|
||||
IRONIC_DEPLOY_ISO_ID=$(openstack \
|
||||
image create \
|
||||
$(basename $IRONIC_DEPLOY_ISO) \
|
||||
|
Loading…
Reference in New Issue
Block a user