From: Grant Slater Date: Tue, 26 Mar 2024 20:48:04 +0000 (+0000) Subject: podman: revert to using default slirp4netns mtu X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/31f1fa863c0b208a44e10ef3ae1571024ef0f0ae podman: revert to using default slirp4netns mtu --- diff --git a/cookbooks/podman/resources/service.rb b/cookbooks/podman/resources/service.rb index 2ca9d446d..dac8ee1c4 100644 --- a/cookbooks/podman/resources/service.rb +++ b/cookbooks/podman/resources/service.rb @@ -34,7 +34,7 @@ action :create do notify_access "all" environment "PODMAN_SYSTEMD_UNIT" => "%n" exec_start_pre "/bin/rm --force %t/%n.ctr-id" - exec_start "/usr/bin/podman run --cidfile=%t/%n.ctr-id --cgroups=no-conmon --userns=auto --label=io.containers.autoupdate=registry --network=slirp4netns:mtu=1500 --pids-limit=-1 #{publish_options} #{environment_options} --rm --sdnotify=conmon --detach --replace --name=%N #{new_resource.image}" + exec_start "/usr/bin/podman run --cidfile=%t/%n.ctr-id --cgroups=no-conmon --userns=auto --label=io.containers.autoupdate=registry --pids-limit=-1 #{publish_options} #{environment_options} --rm --sdnotify=conmon --detach --replace --name=%N #{new_resource.image}" exec_stop "/usr/bin/podman stop --ignore --time=10 --cidfile=%t/%n.ctr-id" exec_stop_post "/usr/bin/podman rm --force --ignore --cidfile=%t/%n.ctr-id" timeout_start_sec 180