lxc config edit
Description: Edit instance or server configurations as YAML Synopsis: Description: Edit instance or server configurations as YAML Examples: Options: Options inherited from parent commands: SEE ALSO: lxc config-...

Hide navigation sidebar
Hide table of contents sidebar
Back to top
Toggle table of contents sidebar

# `lxc config edit`

Edit instance or server configurations as YAML

## Synopsis

Description: Edit instance or server configurations as YAML

    lxc config edit [<remote>:][<instance>[/<snapshot>]] [flags]

## Examples

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

## Options

          --target   Cluster member name

## Options inherited from parent commands

          --debug          Show all debug messages
          --force-local    Force using the local unix socket
      -h, --help           Print help
          --project        Override the source project
      -q, --quiet          Don't show progress information
          --sub-commands   Use with help or --help to view sub-commands
      -v, --verbose        Show all information messages
          --version        Print version number

## SEE ALSO

- lxc config - Manage instance and server configuration options