setup_glance: fix use of glance client
Change-Id: Ibb2e32b6419b1284fabb971d1e81ae2df69143d8
This commit is contained in:
parent
78bdb0f177
commit
ea5799141d
|
@ -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."
|
||||
|
||||
|
|
Loading…
Reference in New Issue