From fd6f63b0f1b3bbed040f24f241d94b60cde3532d Mon Sep 17 00:00:00 2001 From: Kay Yan Date: Fri, 5 Jan 2024 12:16:48 +0000 Subject: [PATCH] add containerd config override_path --- roles/container-engine/containerd/templates/hosts.toml.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/container-engine/containerd/templates/hosts.toml.j2 b/roles/container-engine/containerd/templates/hosts.toml.j2 index c04dc478995..ea003ed44e7 100644 --- a/roles/container-engine/containerd/templates/hosts.toml.j2 +++ b/roles/container-engine/containerd/templates/hosts.toml.j2 @@ -2,7 +2,6 @@ server = "https://{{ item.prefix }}" {% for mirror in item.mirrors %} [host."{{ mirror.host }}"] capabilities = ["{{ ([ mirror.capabilities ] | flatten ) | join('","') }}"] -{% if mirror.skip_verify is defined %} skip_verify = {{ mirror.skip_verify | default('false') | string | lower }} -{% endif %} + override_path = {{ mirror.override_path | default('false') | string | lower }} {% endfor %}