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

Viewing all changes in revision 642.

  • Committer: Scott Moser
  • Author(s): Joshua Harlow
  • Date: 2012-08-31 19:44:50 UTC
  • mfrom: (634.1.7 cloud-init)
  • Revision ID: smoser@ubuntu.com-20120831194450-wlc6c7ao3g65to6y
support launch index specific user-data

EC2 and openstack provide 'launch_index' in their metadata. This allows
the user to specify cloud-config or multipart mime data that includes the
'Launch-Index' header.

If launch index is available in the metadata service, then:
 * any part that contains a launch index other than the current launch-index
   of this instance will be ignored.
 * any part that does not contain a launch index will be considered as
   for this instance.

If there is no such header, or launch_index is not available in the metadata
service, then no such filtering will be done.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: