Skip to content

CloudInit logs #1164

Closed Answered by Itxaka
cristian98149 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

on version lower than 2.0.0, the "cloud-init" stages execution is done via systemd services so you should be able to gather their logs with a simple journalctl -u cos-setup-STAGE

The service names are as follows:

cos-setup-rootfs
cos-setup-initramfs
cos-setup-network
cos-setup-boot
cos-setup-fs
cos-setup-reconcile

For versions higher or equal to 2.0.0, the rootfs and initramfs stages are now run via immucore and that stores the rootfs and initramfs logs to the /run/immucore dir.

It also allows you to enable debug mode for the runs by settings rd.immucore.debug in the cmdline

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cristian98149
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants