← Back to team overview

cloud-init-dev team mailing list archive

[Merge] lp:~daniel-thewatkins/cloud-init/rtd_examples_datasources_disks into lp:cloud-init

 

Dan Watkins has proposed merging lp:~daniel-thewatkins/cloud-init/rtd_examples_datasources_disks into lp:cloud-init.

Requested reviews:
  cloud init development team (cloud-init-dev)
Related bugs:
  Bug #1459604 in cloud-init: "Some examples missing from readthedocs"
  https://bugs.launchpad.net/cloud-init/+bug/1459604

For more details, see:
https://code.launchpad.net/~daniel-thewatkins/cloud-init/rtd_examples_datasources_disks/+merge/260455
-- 
Your team cloud init development team is requested to review the proposed merge of lp:~daniel-thewatkins/cloud-init/rtd_examples_datasources_disks into lp:cloud-init.
=== modified file 'doc/rtd/topics/examples.rst'
--- doc/rtd/topics/examples.rst	2013-01-28 18:28:09 +0000
+++ doc/rtd/topics/examples.rst	2015-05-28 10:30:31 +0000
@@ -1,8 +1,8 @@
 .. _yaml_examples:
 
-=========
+=====================
 Cloud config examples
-=========
+=====================
 
 Including users and groups
 ---------------------------
@@ -80,7 +80,7 @@
 
 
 Alter the completion message
----------------------------
+----------------------------
 
 .. literalinclude:: ../../examples/cloud-config-final-message.txt
    :language: yaml
@@ -100,6 +100,13 @@
    :language: yaml
    :linenos:
 
+Update apt database on first boot
+---------------------------------
+
+.. literalinclude:: ../../examples/cloud-config-update-apt.txt
+   :language: yaml
+   :linenos:
+
 Adjust mount points mounted
 ---------------------------
 
@@ -115,19 +122,40 @@
    :linenos:
 
 Reboot/poweroff when finished
----------------------------
+-----------------------------
 
 .. literalinclude:: ../../examples/cloud-config-power-state.txt
    :language: yaml
    :linenos:
 
 Configure instances ssh-keys
----------------------------
+----------------------------
 
 .. literalinclude:: ../../examples/cloud-config-ssh-keys.txt
    :language: yaml
    :linenos:
-   
+
+Configure data sources
+----------------------
+
+.. literalinclude:: ../../examples/cloud-config-datasources.txt
+   :language: yaml
+   :linenos:
+
+Create partitions and filesystems
+---------------------------------
+
+.. literalinclude:: ../../examples/cloud-config-disk-setup.txt
+   :language: yaml
+   :linenos:
+
+Grow partitions
+---------------
+
+.. literalinclude:: ../../examples/cloud-config-growpart.txt
+   :language: yaml
+   :linenos:
+
 
 .. _chef: http://www.opscode.com/chef/
 .. _puppet: http://puppetlabs.com/


Follow ups