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

Proposed by Joshua Powers
Status: Merged
Merged at revision: 73a97b1deafb0569dba5e94f2c663fac0fe522d9
Proposed branch: ~powersj/cloud-init:add-rtd-examples
Merge into: cloud-init:master
Diff against target: 46 lines (+28/-0)
1 file modified
doc/rtd/topics/examples.rst (+28/-0)
Reviewer Review Type Date Requested Status
Scott Moser Approve
Server Team CI bot continuous-integration Approve
Review via email: mp+322317@code.launchpad.net

Commit message

Doc: add additional RTD examples

Includes missing examples for RTD

LP: #1459604

Description of the change

To post a comment you must log in.
Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Scott Moser (smoser) :
review: Approve

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/doc/rtd/topics/examples.rst b/doc/rtd/topics/examples.rst
2index a110721..a1ee04a 100644
3--- a/doc/rtd/topics/examples.rst
4+++ b/doc/rtd/topics/examples.rst
5@@ -93,6 +93,13 @@ Install arbitrary packages
6 :language: yaml
7 :linenos:
8
9+Update apt database on first boot
10+=================================
11+
12+.. literalinclude:: ../../examples/cloud-config-update-apt.txt
13+ :language: yaml
14+ :linenos:
15+
16 Run apt or yum upgrade
17 ======================
18
19@@ -149,6 +156,27 @@ Register RedHat Subscription
20 :language: yaml
21 :linenos:
22
23+Configure data sources
24+======================
25+
26+.. literalinclude:: ../../examples/cloud-config-datasources.txt
27+ :language: yaml
28+ :linenos:
29+
30+Create partitions and filesystems
31+=================================
32+
33+.. literalinclude:: ../../examples/cloud-config-disk-setup.txt
34+ :language: yaml
35+ :linenos:
36+
37+Grow partitions
38+===============
39+
40+.. literalinclude:: ../../examples/cloud-config-growpart.txt
41+ :language: yaml
42+ :linenos:
43+
44 .. _chef: http://www.opscode.com/chef/
45 .. _puppet: http://puppetlabs.com/
46 .. vi: textwidth=78

Subscribers

People subscribed via source and target branches