[TRAIN-Only] Specify default podman network

In a01366b8a9 we didn't define the network
by default because we were still using podman 1.6.x. Now that podman 3
is coming, we have to define a valid network configuration or it throws
an error for every cli invocation.

Change-Id: I9954be4c6ec4cffc83c9f19e9ddb0fc195d2ec88
Related-Bug: #1898120
This commit is contained in:
Alex Schultz 2021-03-19 08:42:28 -06:00
parent 5d1ba8cc11
commit 00f09d98da
1 changed files with 24 additions and 1 deletions

View File

@ -27,4 +27,27 @@ tripleo_podman_purge_packages: "{{ _tripleo_podman_purge_packages | default([])
tripleo_podman_tls_verify: true tripleo_podman_tls_verify: true
tripleo_podman_debug: false tripleo_podman_debug: false
tripleo_podman_buildah_login: false tripleo_podman_buildah_login: false
tripleo_podman_default_network_config: {} # this is the default network configuration except the range has been moved
# from 10.88.0.0/16 to 10.255.255.0/24 to try and prevent a conflict in an
# existing cloud
tripleo_podman_default_network_config:
cniVersion: 0.4.0
name: podman
plugins:
- type: bridge
bridge: cni-podman0
isGateway: true
ipMasq: true
hairpinMode: true
ipam:
type: host-local
routes:
- dst: 0.0.0.0/0
ranges:
- - subnet: 10.255.255.0/24
gateway: 10.255.255.1
- type: portmap
capabilities:
portMappings: true
- type: firewall
- type: tuning