Skip to content

Commit

Permalink
added workaround for default DNS (actions#819)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darleev authored and Mikhail Timofeev committed May 14, 2020
1 parent ef9b137 commit afba40e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions images/linux/scripts/installers/1804/basic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ for cmd in curl file ftp jq netcat ssh parallel rsync shellcheck sudo telnet tim
fi
done

# Workaround for systemd-resolve, since sometimes stub resolver does not work properly. Details: https://github.com/actions/virtual-environments/issues/798
echo "Create resolv.conf link."
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf

# Document what was added to the image
echo "Lastly, documenting what we added to the metadata file"
DocumentInstalledItem "Basic CLI:"
Expand Down

0 comments on commit afba40e

Please sign in to comment.