LXC.CONFIG.EDIT(1)

πŸ“¦
version 5.21.6 Β· 3 versions
, in opensuse-leap 16.0

πŸ’… lxc-config-edit β€” the "edit your whole config in YAML" glow-up

okay so real talk, bestie: this page is from LXD - Command line client(1) and it's about that one command that drops you into a YAML editor for an instance or the server itself. πŸŽ€


✨ NAME ✨

lxc-config-edit β€” Edit instance or server configurations as YAML πŸ¦‹


🌸 SYNOPSIS 🌸

lxc config edit [:][[/]] [flags]

πŸ’– DESCRIPTION πŸ’–

Straight from the source, no cap:

Edit instance or server configurations as YAML ✨

Like, you get to poke at the actual YAML. That's the whole vibe. Main character energy for your config file πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • --target="" β€” Cluster member name πŸ’… (yep, that's the whole description β€” it points at which cluster member you're talking to)

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these ones you get for free from the parent command, iykyk:

  • --debug[=false] β€” Show all the debug messages πŸ”₯ (default: false)
  • --force-local[=false] β€” Force using the local unix socket πŸ’€ (default: false)
  • -h, --help[=false] β€” Print help 🫢 (default: false)
  • --project="" β€” Override the source project ⭐
  • -q, --quiet[=false] β€” Don't show progress information πŸ™ˆ (default: false)
  • --sub-commands[=false] β€” Use with help or --help to view sub-commands πŸ‘‘ (default: false)
  • -v, --verbose[=false] β€” Show all information messages πŸ’– (default: false)
  • --version[=false] β€” Print version number 🌸 (default: false)

πŸ¦‹ EXAMPLE πŸ¦‹

  lxc config edit <instance> < instance.yaml
      Update the instance configuration from config.yaml.

literally feed it a YAML file on stdin and watch the instance config update itself ✨ ate, no crumbs.


πŸ’œ SEE ALSO πŸ’œ


🧚 HISTORY 🧚

22-Aug-2026 β€” Auto generated by spf13/cobra πŸ’«


ngl, this whole page was auto generated by spf13/cobra, so if anything looks a lil quirky, that's why 😭

okay bye bestie, go edit some YAML πŸ“βœ¨ β€” LXD - Command line client(1), Aug 2026, auto generated by spf13/cobra πŸ’…πŸ«Ά

πŸ“¦ where this page comes from