File: README

package info (click to toggle)
cloud-init 22.4.2-1%2Bdeb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,088 kB
  • sloc: python: 108,898; sh: 4,091; makefile: 147; xml: 22
file content (22 lines) | stat: -rw-r--r-- 693 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
This directory is an example of a 'seed' directory.


copying these files inside an instance's
  /var/lib/cloud/seed/nocloud
or
  /var/lib/cloud/seed/nocloud-net

will cause the 'DataSourceNoCloud' and 'DataSourceNoCloudNet' modules
to enable and read the given data.

The directory must have both files.

- user-data:
  This is the user data, as would be consumed from ec2's metadata service
  see examples in doc/examples.
- meta-data:
  This file is yaml formatted data similar to what is in the ec2 metadata
  service under meta-data/.  See the example, or, on an ec2 instance,
  run:
     python -c 'import boto.utils, yaml; print(
        yaml.dump(boto.utils.get_instance_metadata()))'