Merge "Upload glance image with --file in ceph job"

This commit is contained in:
Zuul
2024-05-14 16:40:32 +00:00
committed by Gerrit Code Review

View File

@@ -25,7 +25,7 @@
# Upload it to glance as the sole image available so tempest # Upload it to glance as the sole image available so tempest
# config will find it. Wait ten seconds after doing this # config will find it. Wait ten seconds after doing this
# before the restart below. # 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 sleep 10
openstack image list openstack image list
openstack image show cirros-raw openstack image show cirros-raw