From c0e07234631cfcea1d6724c05606964a4d833f39 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Tue, 18 Jan 2022 16:17:53 +0100 Subject: rename --cni-config-dir to --network-config-dir Since this option will also be used for netavark we should rename it to something more generic. It is important that --cni-config-dir still works otherwise we could break existing container cleanup commands. Signed-off-by: Paul Holzinger --- test/python/docker/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/python/docker/__init__.py') diff --git a/test/python/docker/__init__.py b/test/python/docker/__init__.py index f75185192..80fc2a133 100644 --- a/test/python/docker/__init__.py +++ b/test/python/docker/__init__.py @@ -57,7 +57,7 @@ class Podman(object): self.anchor_directory, "cni", "net.d" ) os.makedirs(os.environ["CNI_CONFIG_PATH"], exist_ok=True) - self.cmd.append("--cni-config-dir=" + os.environ["CNI_CONFIG_PATH"]) + self.cmd.append("--network-config-dir=" + os.environ["CNI_CONFIG_PATH"]) cni_cfg = os.path.join( os.environ["CNI_CONFIG_PATH"], "87-podman-bridge.conflist" ) -- cgit v1.2.3-54-g00ecf