Fix image create functions for Ironic
This fixes an issue where --container-format was not passed to 'openstack image create'. Change-Id: If1431c8dc8ff8e940f99e984939f5b2732bb0ee0 Closes-Bug: 1357495
This commit is contained in:
parent
735f4d340f
commit
722284f24b
@ -500,6 +500,7 @@ function upload_baremetal_ironic_deploy {
|
||||
image create \
|
||||
$(basename $IRONIC_DEPLOY_KERNEL_PATH) \
|
||||
--public --disk-format=aki \
|
||||
--container-format=aki \
|
||||
< $IRONIC_DEPLOY_KERNEL_PATH | grep ' id ' | get_field 2)
|
||||
IRONIC_DEPLOY_RAMDISK_ID=$(openstack \
|
||||
--os-token $token \
|
||||
@ -507,6 +508,7 @@ function upload_baremetal_ironic_deploy {
|
||||
image create \
|
||||
$(basename $IRONIC_DEPLOY_RAMDISK_PATH) \
|
||||
--public --disk-format=ari \
|
||||
--container-format=ari \
|
||||
< $IRONIC_DEPLOY_RAMDISK_PATH | grep ' id ' | get_field 2)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user