table of contents
LXD - Command line client(1) | LXD - Command line client(1) |
NAME¶
lxc-config-set - Set instance or server configuration keys
SYNOPSIS¶
lxc config set [:][] =... [flags]
DESCRIPTION¶
Description:
Set instance or server configuration keys
For backward compatibility, a single configuration key may still
be set with:
lxc config set [:][]
OPTIONS¶
-p, --property[=false] Set the key as an instance property
--target="" Cluster member name``
OPTIONS INHERITED FROM PARENT COMMANDS¶
--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
EXAMPLE¶
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.
SEE ALSO¶
lxc-config(1)
HISTORY¶
9-Aug-2024 Auto generated by spf13/cobra
Aug 2024 | Auto generated by spf13/cobra |