File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments