.nh .TH "LXD - Command line client" "1" "Apr 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP lxc-config-device-add - Add instance devices .SH SYNOPSIS .PP \fBlxc config device add [:] [key=value...] [flags]\fP .SH DESCRIPTION .PP Description: Add instance devices .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB--debug\fP[=false] Show all debug messages .PP \fB--force-local\fP[=false] Force using the local unix socket .PP \fB-h\fP, \fB--help\fP[=false] Print help .PP \fB--project\fP="" Override the source project`` .PP \fB-q\fP, \fB--quiet\fP[=false] Don't show progress information .PP \fB--sub-commands\fP[=false] Use with help or --help to view sub-commands .PP \fB-v\fP, \fB--verbose\fP[=false] Show all information messages .PP \fB--version\fP[=false] Print version number .SH EXAMPLE .EX lxc config device add [:]instance1 disk source=/share/c1 path=/opt Will mount the host's /share/c1 onto /opt in the instance. lxc config device add [:]instance1 disk pool=some-pool source=some-volume path=/opt Will mount the some-volume volume on some-pool onto /opt in the instance. .EE .SH SEE ALSO .PP \fBlxc-config-device(1)\fP .SH HISTORY .PP 11-Apr-2024 Auto generated by spf13/cobra