File: data.yaml

package info (click to toggle)
cloud-init 25.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 12,052 kB
  • sloc: python: 134,399; sh: 3,879; makefile: 128; javascript: 30; xml: 22
file content (23 lines) | stat: -rw-r--r-- 893 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
23
cc_final_message:
  description: |
    This module configures the final message that cloud-init writes. The
    message is specified as a Jinja template with the following variables set:

    - ``version``: cloud-init version
    - ``timestamp``: time at cloud-init finish
    - ``datasource``: cloud-init data source
    - ``uptime``: system uptime

    This message is written to the cloud-init log (usually
    ``/var/log/cloud-init.log``) as well as stderr (which usually redirects to
    ``/var/log/cloud-init-output.log``).

    Upon exit, this module writes the system uptime, timestamp, and cloud-init
    version to ``/var/lib/cloud/instance/boot-finished`` independent of any
    user data specified for this module.
  examples:
  - comment: |
      Example 1:
    file: cc_final_message/example1.yaml
  name: Final Message
  title: Output final message when cloud-init has finished