summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2020-09-21 17:23:45 +1200
committerLingxian Kong <anlin.kong@gmail.com>2020-09-21 17:23:45 +1200
commitd75151bbe41b8202385a145f3da023328caf2734 (patch)
tree292c59c1b9f2de1543cb8b9497430a7c779ec4a3 /doc
parent7537b3255e6a66ec778d51e48bb7451d66c12b99 (diff)
downloadtrove-d75151bbe41b8202385a145f3da023328caf2734.tar.gz
[Doc] Improve building Trove guest image instruction
Change-Id: I96c9c70aee9363880c0ba9372a347a80fa930e14
Diffstat (limited to 'doc')
-rw-r--r--doc/source/admin/building_guest_images.rst29
1 files changed, 26 insertions, 3 deletions
diff --git a/doc/source/admin/building_guest_images.rst b/doc/source/admin/building_guest_images.rst
index 1918e93c..6f6dd2fa 100644
--- a/doc/source/admin/building_guest_images.rst
+++ b/doc/source/admin/building_guest_images.rst
@@ -54,9 +54,26 @@ functional tests are running.
Docker
------
-Since Vitoria release, all the datastore services are installed by docker
-container inside the Trove instance, so docker should be installed when
-building the guest image.
+Since Vitoria, the database service is running as docker container inside the
+trove guest instance, so docker should be installed when building the guest
+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
@@ -81,6 +98,12 @@ VM, including:
* ``/etc/trove/conf.d/trove-guestagent.conf``: The config file for the
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
------------------------------