From 3c98ddfa180a464683b841c4af97ec4c185e3e29 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 5 May 2023 22:10:06 +0200 Subject: 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. --- src/conf_mode/container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3