.nh .TH "LXD - Command line client" "1" "May 2023" "Auto generated by spf13/cobra" "" .SH NAME .PP lxc-profile-device-add - Add instance devices .SH SYNOPSIS .PP \fBlxc profile 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 .PP .RS .nf lxc profile device add [:]profile1 disk source=/share/c1 path=/opt Will mount the host's /share/c1 onto /opt in the instance. lxc profile device add [:]profile1 disk pool=some-pool source=some-volume path=/opt Will mount the some-volume volume on some-pool onto /opt in the instance. .fi .RE .SH SEE ALSO .PP \fBlxc-profile-device(1)\fP .SH HISTORY .PP 5-May-2023 Auto generated by spf13/cobra