1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 14:15:26 +02:00
tldr/pages/linux/cloud-init.md
Managor 16b161ccf8
linux/*: reduce usage of "command-line" (#16946)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-06-29 11:47:51 +03:00

568 B

cloud-init

Manage cloud instance initialization. More information: https://cloudinit.readthedocs.io/en/latest/reference/cli.html.

  • Display the status of the most recent cloud-init run:

cloud-init status

  • Wait for cloud-init to finish running and then report status:

cloud-init status --wait

  • List available top-level metadata keys to query:

cloud-init query --list-keys

  • Query cached instance metadata for data:

cloud-init query {{dot_delimited_variable_path}}

  • Clean logs and artifacts to allow cloud-init to rerun:

cloud-init clean