Mounting the whole of /dev/now in cinder-storage

This commit is contained in:
Egon Rijpkema
2018-12-14 16:16:50 +01:00
parent f011919666
commit 25e2467edc
2 changed files with 3 additions and 4 deletions

View File

@ -11,10 +11,8 @@ ExecStartPre=-/usr/bin/docker rm %n
ExecStart=/usr/bin/docker run --name %n \
--privileged \
{{ env_vars | replace('\n', '') }} \
-v "/dev/cinder-volumes/":/dev/cinder-volumes \
-v /srv/cinder-storage/root:/root \
-v "{{ storage_volume }}":/dev/cinder_storage_volume \
-v "/dev/lvm":/dev/lvm \
-v "/dev":/dev \
-v "/srv/cinder-storage/volumes/:/var/lib/cinder/volumes/" \
--network=host \
{{ docker_image }}