summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/sources/opennebula/README.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/sources/opennebula/README.rst b/doc/sources/opennebula/README.rst
index 5cbc4366..a84aebd4 100644
--- a/doc/sources/opennebula/README.rst
+++ b/doc/sources/opennebula/README.rst
@@ -90,6 +90,19 @@ One or multiple SSH keys (separated by newlines) can be specified.
cloud-init user data.
+Example configuration
+~~~~~~~~~~~~~~~~~~~~~
+
+This example cloud-init configuration (*cloud.cfg*) enables
+OpenNebula datasource only in 'net' mode.
+
+::
+
+ disable_ec2_metadata: True
+ datasource_list: ['OpenNebula']
+ datasource:
+ OpenNebula:
+ dsmode: net
Example VM's context section
~~~~~~~~~~~~~~~~~~~~~~~~~~~~