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 %}