~ubuntu-branches/ubuntu/natty/cloud-init/natty-proposed

« back to all changes in this revision

Viewing changes to .pc/catchup-391-394.patch/doc/examples/seed/README

  • Committer: Package Import Robot
  • Author(s): Scott Moser
  • Date: 2011-04-04 13:20:27 UTC
  • Revision ID: package-import@ubuntu.com-20110404132027-w7sv5m946skhr6nf
Tags: 0.6.1-0ubuntu5
* fix --purge of grub-legacy-ec2 package (LP: #749444)
* catchup to trunk cloud-init (rev 394)
* support user-data formated in dos format by converting to unix for
  user-scripts, boothooks, and upstart jobs (LP: #744965)
* removal of some debug code, minor documentation fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This directory is an example of a 'seed' directory.
 
2
 
 
3
 
 
4
copying these files inside an instance's
 
5
  /var/lib/cloud/data/cache/nocloud
 
6
or
 
7
  /var/lib/cloud/data/cache/nocloud-net
 
8
 
 
9
will cause the 'DataSourceNoCloud' and 'DataSourceNoCloudNet' modules
 
10
to enable and read the given data.
 
11
 
 
12
The directory must have both files.
 
13
 
 
14
- user-data:
 
15
  This is the user data, as would be consumed from ec2's metadata service
 
16
  see examples in doc/examples.
 
17
- meta-data:
 
18
  This file is yaml formated data similar to what is in the ec2 metadata
 
19
  service under meta-data/.  See the example, or, on an ec2 instance,
 
20
  run:
 
21
     python -c 'import boto.utils, yaml; print(
 
22
        yaml.dump(boto.utils.get_instance_metadata()))'