Added cinder block storage.
This commit is contained in:
@ -31,8 +31,8 @@
|
||||
state: directory
|
||||
mode: 0777
|
||||
with_items:
|
||||
- /srv/cinder
|
||||
- /srv/cinder/root
|
||||
- /srv/cinder-controller
|
||||
- /srv/cinder-controller/root
|
||||
|
||||
- name: install service file.
|
||||
template:
|
||||
@ -48,7 +48,7 @@
|
||||
command: >
|
||||
/usr/bin/docker run --rm
|
||||
{{ env_vars }}
|
||||
-v /srv/cinder/root:/root \
|
||||
-v /srv/cinder-controller/root:/root \
|
||||
{{ docker_image }} /etc/bootstrap.sh
|
||||
tags: bootstrap
|
||||
|
||||
|
@ -10,7 +10,7 @@ ExecStartPre=-/usr/bin/docker kill %n
|
||||
ExecStartPre=-/usr/bin/docker rm %n
|
||||
ExecStart=/usr/bin/docker run --name %n \
|
||||
{{ env_vars | replace('\n', '') }} \
|
||||
-v /srv/glance/root:/root \
|
||||
-v /srv/cinder-controller/root:/root \
|
||||
-p 8776:8776 \
|
||||
{{ docker_image }}
|
||||
|
||||
|
Reference in New Issue
Block a user