Skip to content
Snippets Groups Projects
Commit 2e7b5287 authored by Adam McCartney's avatar Adam McCartney
Browse files

Add type for mtu field in docker role

Closes-Bug: #2066032

This patch adds an integer type to the task in the docker role that
generates the docker daemon config. This was previously uncast and
defaulting to a string type, which causes an error with certain docker
versions (via the Rocky 9.3 distro). See bug description for more info.

Change-Id: I2a996fa22fedece2c894b378fadbfc5dd0c045b6
parent 617eed47
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
{%- set _ = options.update({"registry-mirrors": docker_registry_mirrors}) -%} {%- set _ = options.update({"registry-mirrors": docker_registry_mirrors}) -%}
{%- endif -%} {%- endif -%}
{%- if docker_daemon_mtu -%} {%- if docker_daemon_mtu -%}
{%- set _ = options.update({"mtu": docker_daemon_mtu}) -%} {%- set _ = options.update({"mtu": docker_daemon_mtu | int}) -%}
{%- endif -%} {%- endif -%}
{%- if docker_daemon_live_restore | bool -%} {%- if docker_daemon_live_restore | bool -%}
{%- set _ = options.update({"live-restore": docker_daemon_live_restore | bool}) -%} {%- set _ = options.update({"live-restore": docker_daemon_live_restore | bool}) -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment