CLOUD-INIT(1)

✨ NAME ✨

okay so cloud-init (that's the manual page for it, the CLOUD-INIT(1) one πŸ’–) is the thing that does cloud instance initialization 🧚

🌸 Quick note on the header

The page is from the General Commands Manual, and the manual name is CLOUD-INIT(1). Iconic. πŸ‘‘

πŸŽ€ SYNOPSIS πŸŽ€

cloud-init [-h] [-d] [--force] [-v] [SUBCOMMAND]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so Cloud-init gives you a mechanism for cloud instance initialization, and it's giving main character energy ✨ It works by figuring out which cloud platform you're on, reading the cloud meta-data, vendor-data and user-data, and then initializing the instance however you asked. literally so smart πŸ§ πŸ’…

πŸ’– OPTIONS πŸ’–

  • -h, --help β€” shows the help message and exits. bestie, always start here 🫢
  • -v, --version β€” shows the program's version number and exits πŸ”₯
  • --all-stages β€” INTERNAL πŸ™ˆ this runs cloud-init's stages under a single process using a synchronization protocol. it's not meant for CLI usage, so please don't go poking at it 😭

🌈 SUBCOMMANDS 🌈

please check the help output for each subcommand for extra details, flags, and subcommands, periodt πŸ’…

  • analyze β€” analyzes cloud-init logs and data πŸ”
  • collect-logs β€” collects and tars all cloud-init debug info πŸ“¦
  • clean β€” removes logs and artifacts so cloud-init can re-run 🧹
  • devel β€” runs development tools. see the help output for subcommand details πŸ› οΈ
  • features β€” lists defined features ✨
  • query β€” queries standardized instance metadata from the command line πŸ”Ž
  • schema β€” validates cloud-config files using jsonschema πŸ’œ
  • single β€” manually runs a single module. useful for testing during development πŸ§ͺ
  • status β€” reports cloud-init status or waits on completion ⏳

πŸ™ˆ DEPRECATED πŸ™ˆ

these ones are deprecated, so no cap, don't build your whole vibe on them πŸ’€

  • -d, --debug β€” shows additional pre-action logging (default: False) πŸ›
  • --force β€” forces running even if no datasource is found. use at your own risk 😬
  • init β€” initializes cloud-init and executes initial modules πŸš€
  • modules β€” activates modules using a given configuration key πŸŽ›οΈ

πŸ“ EXIT STATUS πŸ“

okay so here's how it tells you how things went:

  • 0 β€” Success! πŸŽ‰
  • 1 β€” Error. cloud-init failed πŸ’€
  • 2 β€” Recoverable error. cloud-init completed but ran into errors πŸ₯²

Copyright (C) 2020 Canonical Ltd. License GPL-3 or Apache-2.0 βš–οΈ

πŸ”— SEE ALSO πŸ”—

the full documentation lives at <https://docs.cloud-init.io> πŸ“š


bestie, this page is from CLOUD-INIT(1) in the General Commands Manual, and it's the version from the cloud-init source line 🌸 Last updated... the page itself has the date, go check it, I'm not guessing πŸ’– love you, mwah 🫢✨

πŸ“¦ where this page comes from