LXC.CONFIG.SET(1)
π NAME π
okay so bestie, welcome to lxc-config-set β the lil command that sets instance or server configuration keys for LXD, the command line client. yes that's the whole job. one job. iconic. β¨
πΈ SYNOPSIS πΈ
lxc config set [:][] =... [flags]
no cap, that is literally how it's printed in the source β the angle brackets ghosted us π« we're copying it verbatim because that's the rules.
π DESCRIPTION π
Description: set instance or server configuration keys. that's it. that's the vibe check. π
and for backward compatibility (yes, the old ways still slay), a single configuration key may still be set with:
lxc config set [:][]
so if you're out here setting just one key the ancient way, the command still has your back. π«Ά
β¨ OPTIONS β¨
-p,--property[=false]β set the key as an instance property.--target=""β cluster member name. (and yes, the source has two rogue backticks dangling off the end of that one β`` β we are not touching them, they're part of the family now π)
π₯ OPTIONS INHERITED FROM PARENT COMMANDS π₯
these aren't even ours, we just inherited them like hand-me-downs from the parent command and honestly they eat:
--debug[=false]β show all the debug messages. every last one. π--force-local[=false]β force using the local unix socket.-h,--help[=false]β print help. your bestie when you're lost.--project=""β override the source project. (also rocking two stray backticks in the original:`` β leaving them exactly as found π )-q,--quiet[=false]β don't show progress information. shhh. π€«--sub-commands[=false]β use withhelpor--helpto view sub-commands.-v,--verbose[=false]β show all information messages. chatty era. π¬--version[=false]β print version number. know your roots. β
π¦ EXAMPLE π¦
look at these. they ate. π
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.
so like: CPU cap of "2" on an instance? done. LXD listening on IPv4 and IPv6 port 8443? slay. server trust password set to blah? okay security queen, whatever you say. π
π SEE ALSO π
lxc-config(1)β go read the parent, it's giving main character energy π§
π HISTORY π
22-Aug-2026 β auto generated by spf13/cobra. not a human, not a vibe, just a generator doing its thing. π
and that's the whole page bestie β auto generated by spf13/cobra, dated Aug 2026, and it lives inside LXD - Command line client(1). go set some keys, you absolute icon. periodt. π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms