Skip to content

Commit

Permalink
Update runner/startup.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Callum Tait <15716903+toast-gear@users.noreply.github.com>
  • Loading branch information
Vladyslav-Miletskyi and toast-gear authored May 18, 2022
1 parent eeaec37 commit c45c777
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runner/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ function wait_for_process () {
sudo /bin/bash <<SCRIPT
mkdir -p /etc/docker
[ ! -f /etc/docker/daemon.json ] && echo "{}" > /etc/docker/daemon.json
if [ ! -f /etc/docker/daemon.json ]; then
echo "{}" > /etc/docker/daemon.json
fi
if [ -n "${MTU}" ]; then
jq ".\"mtu\" = ${MTU}" /etc/docker/daemon.json > /tmp/.daemon.json && mv /tmp/.daemon.json /etc/docker/daemon.json
Expand Down

0 comments on commit c45c777

Please sign in to comment.