From 30ab0c0b7118d9ae59c186707abc69cb71608574 Mon Sep 17 00:00:00 2001 From: Vladyslav Miletskyi <33529567+Vladyslav-Miletskyi@users.noreply.github.com> Date: Fri, 4 Jun 2021 02:54:46 +0300 Subject: [PATCH] Fix actions-runner-dind not to fail setting up MTU (#589) Fixes #588 --- runner/Dockerfile.dindrunner | 1 + runner/startup.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/runner/Dockerfile.dindrunner b/runner/Dockerfile.dindrunner index be8a3003..3e4ebf34 100644 --- a/runner/Dockerfile.dindrunner +++ b/runner/Dockerfile.dindrunner @@ -19,6 +19,7 @@ RUN apt update -y \ libunwind8 \ locales \ netcat \ + net-tools \ openssh-client \ parallel \ python3-pip \ diff --git a/runner/startup.sh b/runner/startup.sh index 93af046c..6b79c49d 100644 --- a/runner/startup.sh +++ b/runner/startup.sh @@ -60,7 +60,7 @@ for process in "${processes[@]}"; do done if [ -n "${MTU}" ]; then - ifconfig docker0 mtu ${MTU} up + sudo ifconfig docker0 mtu ${MTU} up fi # Wait processes to be running