summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMina Galić <me+git@igalic.co>2020-09-16 21:19:57 +0200
committerGitHub <noreply@github.com>2020-09-16 15:19:57 -0400
commita87ccadca114696bbca1e9d681efc8ce8955f454 (patch)
tree156d69801158d49afe995ede7c9b78479982c992 /doc
parent22220e200a43f9a172e1abac93907b48d60d3ee0 (diff)
downloadvyos-cloud-init-a87ccadca114696bbca1e9d681efc8ce8955f454.tar.gz
vyos-cloud-init-a87ccadca114696bbca1e9d681efc8ce8955f454.zip
opennebula.rst: minor readability improvements (#573)
- use `sh` as highlight language of the code block - change order so that the confusing indentation is less confusing
Diffstat (limited to 'doc')
-rw-r--r--doc/rtd/topics/datasources/opennebula.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/rtd/topics/datasources/opennebula.rst b/doc/rtd/topics/datasources/opennebula.rst
index 8e7c2558..350a3e93 100644
--- a/doc/rtd/topics/datasources/opennebula.rst
+++ b/doc/rtd/topics/datasources/opennebula.rst
@@ -122,13 +122,13 @@ OpenNebula datasource only in 'net' mode.
Example VM's context section
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-::
+.. code-block:: sh
CONTEXT=[
- PUBLIC_IP="$NIC[IP]",
SSH_KEY="$USER[SSH_KEY]
$USER[SSH_KEY1]
- $USER[SSH_KEY2] ",
+ $USER[SSH_KEY2]",
+ PUBLIC_IP="$NIC[IP]",
USER_DATA="#cloud-config
# see https://help.ubuntu.com/community/CloudInit