Upload glance image with --file in ceph job

This enables our use of the OCaaS devstack feature, which can't support
image upload from stdin.

Change-Id: Idc5646ef6763447e3c1c68de03dea8197c305f6c
This commit is contained in:
Dan Smith 2024-05-08 10:57:06 -07:00
parent 114b8184e4
commit a4e72f71fc
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
# Upload it to glance as the sole image available so tempest
# config will find it. Wait ten seconds after doing this
# before the restart below.
openstack image create --container-format bare --disk-format raw --public "cirros-raw" < "$rawimage"
openstack image create --container-format bare --disk-format raw --public "cirros-raw" --file $(readlink -f "$rawimage")
sleep 10
openstack image list
openstack image show cirros-raw