Add device add disk with block device
This commit is contained in:
parent
b94c46466a
commit
2890535e84
1 changed files with 1 additions and 0 deletions
|
@ -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 storage volume create local images
|
||||||
$ lxc config set storage.images_volume 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=/home/foo path=/home/foo
|
||||||
|
$ lxc config device add $containerName $deviceName disk source=/dev/<disk> path=/home/foo
|
||||||
```
|
```
|
||||||
|
|
||||||
Path:
|
Path:
|
||||||
|
|
Loading…
Reference in a new issue