Skip to content

Commit f9ae6ae

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Fix missing --container-format options"
2 parents 47290ee + 0102693 commit f9ae6ae

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
@@ -232,13 +232,15 @@ function upload_baremetal_deploy {
232232
image create \
233233
$BM_DEPLOY_KERNEL \
234234
--public --disk-format=aki \
235+
--container-format=aki \
235236
< $TOP_DIR/files/$BM_DEPLOY_KERNEL | grep ' id ' | get_field 2)
236237
BM_DEPLOY_RAMDISK_ID=$(openstack \
237238
--os-token $token \
238239
--os-url http://$GLANCE_HOSTPORT \
239240
image create \
240241
$BM_DEPLOY_RAMDISK \
241242
--public --disk-format=ari \
243+
--container-format=ari \
242244
< $TOP_DIR/files/$BM_DEPLOY_RAMDISK | grep ' id ' | get_field 2)
243245
}
244246

@@ -287,13 +289,15 @@ function extract_and_upload_k_and_r_from_image {
287289
image create \
288290
$image_name-kernel \
289291
--public --disk-format=aki \
292+
--container-format=aki \
290293
< $TOP_DIR/files/$OUT_KERNEL | grep ' id ' | get_field 2)
291294
RAMDISK_ID=$(openstack \
292295
--os-token $token \
293296
--os-url http://$GLANCE_HOSTPORT \
294297
image create \
295298
$image_name-initrd \
296299
--public --disk-format=ari \
300+
--container-format=ari \
297301
< $TOP_DIR/files/$OUT_RAMDISK | grep ' id ' | get_field 2)
298302
}
299303

0 commit comments

Comments
 (0)