LXD - Command line client(1) LXD - Command line client(1)

lxc-config-set - Set instance or server configuration keys

lxc config set [:][] =... [flags]

Description:
Set instance or server configuration keys

For backward compatibility, a single configuration key may still be set with:
lxc config set [:][]

-p, --property[=false] Set the key as an instance property

--target="" Cluster member name``

--debug[=false] Show all debug messages

--force-local[=false] Force using the local unix socket

-h, --help[=false] Print help

--project="" Override the source project``

-q, --quiet[=false] Don't show progress information

--sub-commands[=false] Use with help or --help to view sub-commands

-v, --verbose[=false] Show all information messages

--version[=false] Print version number

  lxc config set [<remote>:]<instance> limits.cpu=2
      Will set a CPU limit of "2" for the instance.
  lxc config set core.https_address=[::]:8443
      Will have LXD listen on IPv4 and IPv6 port 8443.
  lxc config set core.trust_password=blah
      Will set the server's trust password to blah.

lxc-config(1)

29-Dec-2024 Auto generated by spf13/cobra

Dec 2024 Auto generated by spf13/cobra