From 4c78588baa7ab2d17582b3888fdeb136c3aa73d0 Mon Sep 17 00:00:00 2001 From: Vlastimil Holer Date: Thu, 21 Feb 2013 14:45:09 +0100 Subject: Example cloud.cfg --- doc/sources/opennebula/README.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc/sources/opennebula') 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.2.3