[Doc] Improve building Trove guest image instruction

Change-Id: I96c9c70aee9363880c0ba9372a347a80fa930e14
This commit is contained in:
Lingxian Kong
2020-09-21 17:23:45 +12:00
parent 7537b3255e
commit d75151bbe4

View File

@@ -54,9 +54,26 @@ functional tests are running.
Docker Docker
------ ------
Since Vitoria release, all the datastore services are installed by docker Since Vitoria, the database service is running as docker container inside the
container inside the Trove instance, so docker should be installed when trove guest instance, so docker should be installed when building the guest
building the guest image. image. This also means the trove guest instance should be able to pull docker
images from the image registry(either from user port or trove management port),
the related options for container images are:
.. code-block:: ini
[mysql]
docker_image
backup_docker_image
[postgresql]
docker_image
backup_docker_image
[mariadb]
docker_image
backup_docker_image
----------------- -----------------
Trove Guest Agent Trove Guest Agent
@@ -81,6 +98,12 @@ VM, including:
* ``/etc/trove/conf.d/trove-guestagent.conf``: The config file for the * ``/etc/trove/conf.d/trove-guestagent.conf``: The config file for the
guest agent service. guest agent service.
In addition to these config files, Trove supports to inject user data when
launching the instance for customization on boot time, e.g. network
configuration, hosts file settings, etc. The user data files are located inside
the directory configured by ``cloudinit_location``, for mysql, the file name is
``mysql.cloudinit``
------------------------------ ------------------------------
Persistent Storage, Networking Persistent Storage, Networking
------------------------------ ------------------------------