DOKK / manpages / debian 12 / lxd-client / lxc.config.set.1.en
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 [:][]

--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)

5-May-2023 Auto generated by spf13/cobra

May 2023 Auto generated by spf13/cobra