setup_glance: replace openstack client with glance client

See openstack/glance repo:

82697983c0cbeead47dfb6df9789ad88a8995af7
  "Use `glance` as example in docs instead of osc"

Change-Id: I7defb743e5791ca897cdc6736b5031ed015d9a02
This commit is contained in:
Roger Luethi 2019-12-07 13:29:34 +01:00
parent 148ef079e4
commit 78bdb0f177
1 changed files with 3 additions and 3 deletions

View File

@ -124,12 +124,12 @@ echo
echo "Adding pre-downloaded CirrOS image as $CIRROS_IMG_NAME to glance."
openstack image create "$CIRROS_IMG_NAME" \
glance image-create --name "$CIRROS_IMG_NAME" \
--file "$HOME/img/$(basename $CIRROS_URL)" \
--disk-format qcow2 --container-format bare \
--public
echo "Verifying that the image was successfully added to the service."
echo "openstack image list"
openstack image list
echo "glance image-list"
glance image-list