nova needs the --privileged flag to use iptables

This commit is contained in:
Egon Rijpkema 2017-07-13 10:01:58 +02:00
parent 91ace4d87d
commit 1b7fa48714

View File

@ -24,6 +24,7 @@ ExecStart=/usr/bin/docker run --name %n \
--add-host=nova-controller:{{ hostvars[groups['nova-controller'][0]]['ansible_default_ipv4']['address'] }} \
--add-host=keystone:{{ hostvars[groups['keystone'][0]]['ansible_default_ipv4']['address'] }} \
--add-host=mariadb:{{ hostvars[groups['databases'][0]]['ansible_default_ipv4']['address'] }} \
--privileged \
-p 8774:8774 \
-p 8778:8778 \
hpc/novacontroller /etc/run.sh