Seems necessary for host networking.

This commit is contained in:
Egon Rijpkema 2017-08-25 15:12:29 +02:00
parent 1010930171
commit 233a9debc7

View File

@ -13,6 +13,7 @@ ExecStart=/usr/bin/docker run --name %n \
--add-host=nova-controller:{{ hostvars[groups['nova-controller'][0]]['ansible_default_ipv4']['address'] }} \
--add-host=mariadb:{{ hostvars[groups['databases'][0]]['ansible_default_ipv4']['address'] }} \
--add-host=keystone:{{ hostvars[groups['keystone'][0]]['ansible_default_ipv4']['address'] }} \
--add-host={{ ansible_nodename }}:{{ ansible_default_ipv4.address }} \
--privileged \
--network host \
-v /lib/modules:/lib/modules \