Update the outdated content

Change-Id: I7743b848e69a81e4aefb2191779a4cd9d4c7b666
Closes-Bug: #1729211
This commit is contained in:
chenxing 2017-12-06 19:35:05 +08:00 committed by Chason Chan
parent ccb6752f69
commit 4bcb8a026c

View File

@ -207,16 +207,14 @@ As an alternative, one may consider creating a custom image with pre-installed a
Source images
=============
As the source image for Trove instances, we will use a Trove-compatible Ubuntu image:
As the source image for Trove instances, we will use a Trove-compatible Ubuntu image.
Build your own Trove images, Then run the following steps:
.. code-block:: bash
$ 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 --file ${DATASTORE_TYPE}.qcow2
Note: http://tarballs.openstack.org/trove/images includes mysql, percona, mongodb Trove-compatible images.
At this step please remember the image ID or store it in an environment variable (IMAGEID).
.. code-block:: bash