Add device add disk with block device

This commit is contained in:
Benoît S 2021-09-04 10:23:27 +00:00
parent b94c46466a
commit 2890535e84

View file

@ -36,6 +36,7 @@ $ #Create a images volume in the local (default) pool (ZFS) and use it for image
$ lxc storage volume create local images
$ lxc config set storage.images_volume local/images
$ lxc config device add $containerName $deviceName disk source=/home/foo path=/home/foo
$ lxc config device add $containerName $deviceName disk source=/dev/<disk> path=/home/foo