added volume for glance images
This commit is contained in:
parent
0b70ee884f
commit
a8d30b76b8
@ -53,6 +53,7 @@
|
|||||||
{{ env_vars }}
|
{{ env_vars }}
|
||||||
--add-host=keystone:{{ listen_ip | default(hostvars[groups['keystone'][0]]['ansible_default_ipv4']['address']) }} \
|
--add-host=keystone:{{ listen_ip | default(hostvars[groups['keystone'][0]]['ansible_default_ipv4']['address']) }} \
|
||||||
-v /srv/glance/root:/root \
|
-v /srv/glance/root:/root \
|
||||||
|
-v /var/lib/glance/images:/var/lib/glance/images \
|
||||||
{{ docker_image }} /etc/bootstrap.sh
|
{{ docker_image }} /etc/bootstrap.sh
|
||||||
tags: bootstrap
|
tags: bootstrap
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@ ExecStartPre=-/usr/bin/docker rm %n
|
|||||||
ExecStart=/usr/bin/docker run --name %n \
|
ExecStart=/usr/bin/docker run --name %n \
|
||||||
{{ env_vars | replace('\n', '') }} \
|
{{ env_vars | replace('\n', '') }} \
|
||||||
-v /srv/glance/root:/root \
|
-v /srv/glance/root:/root \
|
||||||
|
-v /var/lib/glance/images:/var/lib/glance/images \
|
||||||
-p 9292:9292 \
|
-p 9292:9292 \
|
||||||
{{ docker_image }}
|
{{ docker_image }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user