incus config device add¶
Add instance devices
Synopsis¶
Description
Add instance devices
incus config device add [<remote>:]<instance> <new device name> <type> [<key>=<value>...] [flags]
Examples¶
incus 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.
incus 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.
Options inherited from parent commands¶
--debug[=true|false] Show all debug messages
--explain[=true|false] If the command is valid, explain its parsed arguments instead of running it
--force-local[=true|false] Force using the local unix socket
-h, --help[=true|false] Print help
--project Override the source project
-q, --quiet[=true|false] Don't show progress information
--sub-commands[=true|false] Use with help or --help to view sub-commands
-v, --verbose[=true|false] Show all information messages
--version[=true|false] Print version number
SEE ALSO¶
incus config device - Manage devices