← Back to team overview

cloud-init-dev team mailing list archive

[Merge] lp:~pdion891/cloud-init/cloud-init into lp:cloud-init

 

pdion891 has proposed merging lp:~pdion891/cloud-init/cloud-init into lp:cloud-init.

Requested reviews:
  cloud init development team (cloud-init-dev)

For more details, see:
https://code.launchpad.net/~pdion891/cloud-init/cloud-init/+merge/255222

Documentation for CloudStack as datasource, initial step, the current documentation is working and has been tested with cloud-init from Ubuntu 14.04, CentOS7 on CloudStack 4.4.x and 4.5.x.

Regards,
-- 
Your team cloud init development team is requested to review the proposed merge of lp:~pdion891/cloud-init/cloud-init into lp:cloud-init.
=== modified file 'doc/rtd/topics/datasources.rst'
--- doc/rtd/topics/datasources.rst	2014-01-17 22:08:58 +0000
+++ doc/rtd/topics/datasources.rst	2015-04-04 01:48:55 +0000
@@ -166,7 +166,7 @@
 CloudStack
 ---------------------------
 
-*TODO*
+.. include:: ../../sources/cloudstack/README.rst
 
 ---------------------------
 OVF

=== added directory 'doc/sources/cloudstack'
=== added file 'doc/sources/cloudstack/README.rst'
--- doc/sources/cloudstack/README.rst	1970-01-01 00:00:00 +0000
+++ doc/sources/cloudstack/README.rst	2015-04-04 01:48:55 +0000
@@ -0,0 +1,29 @@
+`Apache CloudStack`_ expose user-data, meta-data, user password and account
+sshkey thru the Virtual-Router. For more details on meta-data and user-data,
+refer the `CloudStack Administrator Guide`_. 
+
+URLs to access user-data and meta-data from the Virtual Machine. Here 10.1.1.1
+is the Virtual Router IP:
+
+.. code:: bash
+
+    http://10.1.1.1/latest/user-data
+    http://10.1.1.1/latest/meta-data
+    http://10.1.1.1/latest/meta-data/{metadata type}
+
+Configuration
+~~~~~~~~~~~~~
+
+Apache CloudStack datasource can be configured as follows:
+
+.. code:: yaml
+
+    datasource:
+      CloudStack: {}
+      None: {}
+    datasource_list:
+      - CloudStack
+
+
+.. _Apache CloudStack: http://cloudstack.apache.org/
+.. _CloudStack Administrator Guide: http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/latest/virtual_machines.html#user-data-and-meta-data
\ No newline at end of file