diff options
author | Chad Smith <chad.smith@canonical.com> | 2022-02-10 13:18:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 14:18:00 -0600 |
commit | 217ef6ba6c52788f4363b998b6da08863fea5cd9 (patch) | |
tree | b6a530d4608c8d170de89616049702e29abd3af8 /doc/rtd/topics/dir_layout.rst | |
parent | e559a8f8ec4047600cb85dc4151e012108a2d54d (diff) | |
download | vyos-cloud-init-217ef6ba6c52788f4363b998b6da08863fea5cd9.tar.gz vyos-cloud-init-217ef6ba6c52788f4363b998b6da08863fea5cd9.zip |
cloud-id: publish /run/cloud-init/cloud-id-<cloud-type> files (#1244)
Once a valid datasource is detected, publish the following artifacts
to expedite cloud-identification without having to invoke cloud-id from
shell scripts or sheling out from python.
These files can also be relied on in systemd ConditionPathExists
directives to limit execution of services and units to specific
clouds.
/run/cloud-init/cloud-id:
- A symlink with content that is the canonical cloud-id of the
datasource detected. This content is the same lower-case value
as the output of /usr/bin/cloud-id.
/run/cloud-init/cloud-id-<canonical-cloud-id>:
- A single file which will contain the canonical cloud-id encoded
in the filename
Diffstat (limited to 'doc/rtd/topics/dir_layout.rst')
0 files changed, 0 insertions, 0 deletions