<a id="lxc-storage-volume-attach-profile-md"></a>

# `lxc storage volume attach-profile`

Attach new storage volumes to profiles

## Synopsis

Description:
Attach new storage volumes to profiles

<type> must be one of “custom” or “virtual-machine”

```default
lxc storage volume attach-profile [<remote:>]<pool> [<type>/]<volume>[/<snapshot>] <profile> [<device name>] [<path>] [flags]
```

## Options inherited from parent commands

```default
      --debug          Show all debug messages
      --force-local    Force using the local unix socket
  -h, --help           Print help
      --project        Override the source project
  -q, --quiet          Don't show progress information
      --sub-commands   Use with help or --help to view sub-commands
  -v, --verbose        Show all information messages
      --version        Print version number
```

## SEE ALSO

* [lxc storage volume](https://canonical.com/lxd/docs/default/reference/manpages/lxc/storage/volume/index.html.md#lxc-storage-volume-md)	 - Manage storage volumes
