Skip to content

Print current boot session log in cloud-init progress monitoring. #3907

@norio-nomura

Description

@norio-nomura

Description

/var/log/cloud-init-output.log contains the previous boot session's log.
So, it needs to start printing the log from the beginning of the current boot session.

Border of the session in /var/log/cloud-init-output.log::

LIMA 2025-08-25T15:04:03+09:00| Exiting with code 0
Cloud-init v. 25.1.4-0ubuntu0~24.04.1 finished at Mon, 25 Aug 2025 06:04:03 +0000. Datasource DataSourceNoCloud [seed=/dev/vdb].  Up 5.37 seconds
Cloud-init v. 25.1.4-0ubuntu0~24.04.1 running 'init-local' at Mon, 25 Aug 2025 06:07:19 +0000. Up 1.00 seconds.
Cloud-init v. 25.1.4-0ubuntu0~24.04.1 running 'init' at Mon, 25 Aug 2025 06:07:21 +0000. Up 2.59 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions