LXC.CONFIG.DEVICE.ADD(1)
π LXC.CONFIG.DEVICE.ADD(1) π
okay bestie, welcome to the LXD - Command line client(1) manual, and buckle up because this one's a little cutie π
β¨ NAME β¨
lxc-config-device-add β literally just Add instance devices. that's the whole job, and she does it slayfully π
π¦ SYNOPSIS π¦
lxc config device add [:] [key=value...] [flags]
(and yes the spacing in there is exactly how it came out of the box, don't come for me π)
πΈ DESCRIPTION πΈ
so the description is, and I quote in spirit: Description: Add instance devices.
that's it. that's the vibe check. she adds instance devices and she goes home π β¨
π OPTIONS INHERITED FROM PARENT COMMANDS π
these aren't even her own flags, she inherited them from her parent commands like the nepo baby icon she is π§ β all of them default to false unless it says otherwise, iykyk:
--debug[=false]β show all the debug messages. every last one. the full tea β--force-local[=false]β force using the local unix socket. no remote shenanigans, we're staying home π-h,--help[=false]β print help. your little safety net when you're lost π«Ά--project=""β override the source project. (the original page literally has two stray backticks hanging off the end of this line β iconic typo behavior, but I'm not touching it π)-q,--quiet[=false]β don't show progress information. silent mode. main character who says nothing π--sub-commands[=false]β use withhelpor--helpto view sub-commands. peek behind the curtain π-v,--verbose[=false]β show all information messages. she's a talker π¬--version[=false]β print version number. who are you, what's your build, what's your star sign β¨
π₯ EXAMPLE π₯
okay these two examples ATE, no crumbs, here they are exactly as written:
lxc config device add [<remote>:]instance1 <device-name> disk source=/share/c1 path=/opt
Will mount the host's /share/c1 onto /opt in the instance.
that one will mount the host's /share/c1 onto /opt in the instance. periodt π₯
lxc config device add [<remote>:]instance1 <device-name> disk pool=some-pool source=some-volume path=/opt
Will mount the some-volume volume on some-pool onto /opt in the instance.
and that one will mount the some-volume volume on some-pool onto /opt in the instance. pool said what she said π
π SEE ALSO π
lxc-config-device(1)β go read her sister's page, they're a matching set π
β HISTORY β
22-Aug-2026 β Auto generated by spf13/cobra. not a human, not a vibe, just a generator doing her thing π€
so yeah. that's the whole page. add your devices, mount your volumes, force your local socket. you got this bestie π«Άπ
β sign-off time, mwah π β this iconic little number was Auto generated by spf13/cobra, dated Aug 2026, and it lives under the banner of LXD - Command line client(1). slay, stay hydrated, and read your manpages πβ¨
π¦ 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