canonical/lxd

Add lxc config device add disk --type=block for containers

Open

#10,077 opened on Mar 17, 2022

View on GitHub
 (20 comments) (2 reactions) (0 assignees)Go (1,035 forks)auto 404
Good first issueJira

Repository metrics

Stars
 (4,805 stars)
PR merge metrics
 (PR metrics pending)

Description

Whilst a custom storage volume --type=block can be added to a VM as block device, it can not be attached to a container. Also attaching a custom storage volume to a container as unix-block not possible due to missing source path.

This feature would make the procedure of custom volume handling uniform and consistent throughout instance types and storage volume types.

Contributor guide