lxc.profile.device.add(1)

LXD(-) client(1)Apr LXD(-)
Auto generated by spf13/cobra

NAME

lxc-profile-device-add - Add devices to containers or profiles

SYNOPSIS

lxc profile device add [:] [key=value...] [flags]

DESCRIPTION

Description:
Add devices to containers or profiles

OPTIONS INHERITED FROM PARENT COMMANDS

--debug[=false] Show all debug messages

--force-local[=false] Force using the local unix socket

-h, --help[=false] Print help

-v, --verbose[=false] Show all information messages

--version[=false] Print version number

EXAMPLE


lxc config device add [<remote>:]container1 <device-name> disk source=/share/c1 path=opt
Will mount the host's /share/c1 onto /opt in the container.

SEE ALSO

lxc-profile-device(1)

HISTORY

22-Apr-2021 Auto generated by spf13/cobra

Command line