Configure docker0 bridge address

This was previously conflicting with the InternalApiNetCidr value in
environments/network-environment.yaml.

Change-Id: I3f1cb6f056fb19a1ba93d1076191abe7aca4fa21
Depends-On: Ie803b33c93b931f7fefb87b6833eb22fd59cd92d
Closes-Bug: #1726773
This commit is contained in:
Martin André 2017-10-24 11:36:06 +02:00
parent aabc588a68
commit 509209a29b
2 changed files with 15 additions and 4 deletions

View File

@ -46,10 +46,14 @@ outputs:
value:
service_name: docker
config_settings:
if:
- insecure_registry_is_empty
- {}
- tripleo::profile::base::docker::insecure_registries: {get_param: DockerInsecureRegistryAddress}
map_merge:
- tripleo::profile::base::docker::configure_network: true
tripleo::profile::base::docker::network_options: "--bip=172.31.0.1/24"
-
if:
- insecure_registry_is_empty
- {}
- tripleo::profile::base::docker::insecure_registries: {get_param: DockerInsecureRegistryAddress}
step_config: |
include ::tripleo::profile::base::docker
upgrade_tasks:

View File

@ -0,0 +1,7 @@
---
upgrade:
- |
Changed default address of docker0 bridge to be in the last class B private
network -- 172.31.0.1/24 -- to stop conflicting with the default network
range for InternalApiNetCidr. The docker0 bridge is normally unused in
TripleO deployment.