setup_glance: fix use of glance client

Change-Id: Ibb2e32b6419b1284fabb971d1e81ae2df69143d8
This commit is contained in:
Roger Luethi 2019-12-07 14:53:10 +01:00
parent 78bdb0f177
commit ea5799141d
1 changed files with 3 additions and 1 deletions

View File

@ -124,10 +124,12 @@ echo
echo "Adding pre-downloaded CirrOS image as $CIRROS_IMG_NAME to glance."
# XXX install-guide changed from openstack to glance client, but did not
# change --public to --visibility public
glance image-create --name "$CIRROS_IMG_NAME" \
--file "$HOME/img/$(basename $CIRROS_URL)" \
--disk-format qcow2 --container-format bare \
--public
--visibility public
echo "Verifying that the image was successfully added to the service."