mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 04:45:55 +00:00
Update cheatsheets
This commit is contained in:
29
linux/cloud-init
Normal file
29
linux/cloud-init
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# cloud-init
|
||||
|
||||
> Command line tool for managing cloud instance initialization.
|
||||
> More information: <https://cloudinit.readthedocs.io>.
|
||||
|
||||
- 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`
|
||||
Reference in New Issue
Block a user