← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~powersj/cloud-init:add-rtd-examples into cloud-init:master

 

Joshua Powers has proposed merging ~powersj/cloud-init:add-rtd-examples into cloud-init:master.

Commit message:
Doc: add additional RTD examples

Includes missing examples for RTD 

LP: #1459604

Requested reviews:
  cloud init development team (cloud-init-dev)
Related bugs:
  Bug #159604 in acpi-support (Ubuntu): "Hibernate locks up"
  https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/159604

For more details, see:
https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/322317

tox -e doc run:
https://paste.ubuntu.com/24357076/

-- 
Your team cloud init development team is requested to review the proposed merge of ~powersj/cloud-init:add-rtd-examples into cloud-init:master.
diff --git a/doc/rtd/topics/examples.rst b/doc/rtd/topics/examples.rst
index a110721..a1ee04a 100644
--- a/doc/rtd/topics/examples.rst
+++ b/doc/rtd/topics/examples.rst
@@ -93,6 +93,13 @@ Install arbitrary packages
    :language: yaml
    :linenos:
 
+Update apt database on first boot
+=================================
+
+.. literalinclude:: ../../examples/cloud-config-update-apt.txt
+   :language: yaml
+   :linenos:
+
 Run apt or yum upgrade
 ======================
 
@@ -149,6 +156,27 @@ Register RedHat Subscription
     :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/
 .. vi: textwidth=78

Follow ups