diff options
author | Christian Breunig <christian@breunig.cc> | 2023-05-05 22:10:06 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-05-05 22:10:06 +0200 |
commit | 3c98ddfa180a464683b841c4af97ec4c185e3e29 (patch) | |
tree | ee17860e82bfa355ddd8acd759372f158cd042d1 | |
parent | c71a97fc13357fcc34b48aa254ad727939a24957 (diff) | |
download | vyos-1x-3c98ddfa180a464683b841c4af97ec4c185e3e29.tar.gz vyos-1x-3c98ddfa180a464683b841c4af97ec4c185e3e29.zip |
container: T5082: future proof bridge network name
Users might add the podman network interface to a zone based firewall. This
could cuase breaking configs on upgrades to 1.4.
As container support is not yet released for 1.3 LTS version (will be 1.3.3),
we once rename the network interface to match the schema in VyOS 1.4.
-rwxr-xr-x | src/conf_mode/container.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/container.py b/src/conf_mode/container.py index 2d7f03e7f..667d08f8c 100755 --- a/src/conf_mode/container.py +++ b/src/conf_mode/container.py @@ -361,7 +361,7 @@ def generate(container): 'name' : network, 'plugins' : [{ 'type': 'bridge', - 'bridge': f'cni-{network}', + 'bridge': f'pod-{network}', 'isGateway': True, 'ipMasq': False, 'hairpinMode': False, |