Small fixes on teh neutron config.
This commit is contained in:
parent
8300652079
commit
e974eac443
@ -12,6 +12,7 @@
|
||||
-e "NOVA_CONTROLLER_HOST={{ hostvars[groups['nova-controller'][0]]['ansible_default_ipv4']['address'] }}"
|
||||
-e "NOVA_PASSWORD=geheim"
|
||||
-e "NOVA_USER=nova"
|
||||
-e "MEMCACHED_HOST={{ hostvars[groups['memcached'][0]]['ansible_default_ipv4']['address'] }}"
|
||||
-e "OVERLAY_INTERFACE_IP_ADDRESS={{ hostvars[groups['neutron-controller'][0]]['ansible_default_ipv4']['address'] }}"
|
||||
-e "PROVIDER_INTERFACE_NAME={{ hostvars[groups['neutron-controller'][0]]['ansible_default_ipv4']['interface'] }}"
|
||||
-e "RABBIT_PASSWORD=geheim"
|
||||
|
@ -10,12 +10,12 @@ ExecStartPre=-/usr/bin/docker rm -f %n
|
||||
ExecStart=/usr/bin/docker run --name %n \
|
||||
{{ env_vars | replace('\n', '') }} \
|
||||
--add-host=nova-controller:{{ hostvars[groups['nova-controller'][0]]['ansible_default_ipv4']['address'] }} \
|
||||
--add-host=neutron-controller:{{ hostvars[groups['neutron-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'] }} \
|
||||
--privileged \
|
||||
--network host \
|
||||
-p 8774:8774 \
|
||||
-p 8778:8778 \
|
||||
-v /lib/modules:/lib/modules \
|
||||
hpc/neutroncontroller /etc/run.sh
|
||||
|
||||
[Install]
|
||||
|
Loading…
Reference in New Issue
Block a user