From f28fdf6a894e1045615bb0e2479d1747eb3a9a67 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Fri, 10 Feb 2023 20:17:01 +0200 Subject: [PATCH] disable ipv6 in container --- manifests/init.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index ba03ea9..8c2324e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -28,6 +28,7 @@ class grafana ( publish => [ "${container_port}:3000", ], + sysctl => 'net.ipv6.conf.all.disable_ipv6=1', volume => [ "${container_volume_name}:/var/lib/grafana", ], @@ -58,6 +59,7 @@ class grafana ( publish => [ "${container_port}:3000", ], + sysctl => 'net.ipv6.conf.all.disable_ipv6=1', volume => [ "${container_data_folder}:/var/lib/grafana", "${container_config_folder}:/etc/grafana",