Fix glance cli option
When creating image with local file, "--file" should be used. Change-Id: Ifdc028b9df2571c4fc554075cda32c90dbeec0ff
This commit is contained in:
parent
3d3181f56f
commit
59fe90ec2d
@ -213,7 +213,7 @@ As the source image for Trove instances, we will use a Trove-compatible Ubuntu i
|
||||
|
||||
$ export DATASTORE_TYPE="mysql"
|
||||
$ wget http://tarballs.openstack.org/trove/images/ubuntu/${DATASTORE_TYPE}.qcow2
|
||||
$ glance --os-username admin_trove_user --os-password trove --os-tenant-name trove_for_trove_usage --os-auth-url http://<KeystoneIP>:<KeystoneAdminPort>/v2.0 image-create --name trove-image --is-public True --container-format ovf --disk-format qcow2 --owner ${DATASTORE_TYPE}.qcow2
|
||||
$ glance --os-username admin_trove_user --os-password trove --os-tenant-name trove_for_trove_usage --os-auth-url http://<KeystoneIP>:<KeystoneAdminPort>/v2.0 image-create --name trove-image --is-public True --container-format ovf --disk-format qcow2 --file ${DATASTORE_TYPE}.qcow2
|
||||
|
||||
Note: http://tarballs.openstack.org/trove/images includes mysql, percona, mongodb Trove-compatible images.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user