mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
added workaround for default DNS
This commit is contained in:
committed by
Mikhail Timofeev
parent
9a7638db6b
commit
6b6f0a8cb3
@@ -139,6 +139,10 @@ for cmd in curl file ftp jq netcat ssh parallel rsync shellcheck sudo telnet tim
|
|||||||
fi
|
fi
|
||||||
done
|
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
|
# Document what was added to the image
|
||||||
echo "Lastly, documenting what we added to the metadata file"
|
echo "Lastly, documenting what we added to the metadata file"
|
||||||
DocumentInstalledItem "Basic CLI:"
|
DocumentInstalledItem "Basic CLI:"
|
||||||
|
|||||||
Reference in New Issue
Block a user