Skip to content

Commit 0102693

Browse files
Dean Troyerianw
authored andcommitted
Fix missing --container-format options
Cooresponding fix to https://review.openstack.org/114619 for lib/baremetal. Closes-bug: 1357602 Change-Id: I1f4482f218b51ce7d7617cbd5771790c8dcb631a
1 parent 735f4d3 commit 0102693

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/baremetal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,13 +235,15 @@ function upload_baremetal_deploy {
235235
image create \
236236
$BM_DEPLOY_KERNEL \
237237
--public --disk-format=aki \
238+
--container-format=aki \
238239
< $TOP_DIR/files/$BM_DEPLOY_KERNEL | grep ' id ' | get_field 2)
239240
BM_DEPLOY_RAMDISK_ID=$(openstack \
240241
--os-token $token \
241242
--os-url http://$GLANCE_HOSTPORT \
242243
image create \
243244
$BM_DEPLOY_RAMDISK \
244245
--public --disk-format=ari \
246+
--container-format=ari \
245247
< $TOP_DIR/files/$BM_DEPLOY_RAMDISK | grep ' id ' | get_field 2)
246248
}
247249

@@ -290,13 +292,15 @@ function extract_and_upload_k_and_r_from_image {
290292
image create \
291293
$image_name-kernel \
292294
--public --disk-format=aki \
295+
--container-format=aki \
293296
< $TOP_DIR/files/$OUT_KERNEL | grep ' id ' | get_field 2)
294297
RAMDISK_ID=$(openstack \
295298
--os-token $token \
296299
--os-url http://$GLANCE_HOSTPORT \
297300
image create \
298301
$image_name-initrd \
299302
--public --disk-format=ari \
303+
--container-format=ari \
300304
< $TOP_DIR/files/$OUT_RAMDISK | grep ' id ' | get_field 2)
301305
}
302306

0 commit comments

Comments
 (0)