~cloud-init-dev/cloud-init/trunk

« back to all changes in this revision

Viewing changes to doc/examples/cloud-config-archive-launch-index.txt

  • Committer: Scott Moser
  • Date: 2016-08-10 15:06:15 UTC
  • Revision ID: smoser@ubuntu.com-20160810150615-ma2fv107w3suy1ma
README: Mention move of revision control to git.

cloud-init development has moved its revision control to git.
It is available at 
  https://code.launchpad.net/cloud-init

Clone with 
  git clone https://git.launchpad.net/cloud-init
or
  git clone git+ssh://git.launchpad.net/cloud-init

For more information see
  https://git.launchpad.net/cloud-init/tree/HACKING.rst

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#cloud-config-archive
2
 
 
3
 
# This is an example of a cloud archive
4
 
# format which includes a set of launch indexes
5
 
# that will be filtered on (thus only showing
6
 
# up in instances with that launch index), this
7
 
# is done by adding the 'launch-index' key which
8
 
# maps to the integer 'launch-index' that the 
9
 
# corresponding content should be used with.
10
 
#
11
 
# It is possible to leave this value out which
12
 
# will mean that the content will be applicable
13
 
# for all instances
14
 
 
15
 
- type: foo/wark
16
 
  filename: bar
17
 
  content: |
18
 
    This is my payload
19
 
    hello
20
 
  launch-index: 1  # I will only be used on launch-index 1
21
 
- this is also payload
22
 
- |
23
 
  multi line payload
24
 
  here
25
 
-
26
 
  type: text/upstart-job
27
 
  filename: my-upstart.conf
28
 
  content: |
29
 
   whats this, yo?
30
 
  launch-index: 0 # I will only be used on launch-index 0