mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix DNS resolution
This commit is contained in:
parent
e5a5dca777
commit
c3dc4a2ecd
1 changed files with 6 additions and 1 deletions
|
@ -9,7 +9,11 @@ commands:
|
||||||
- run:
|
- run:
|
||||||
name: "Configure Google DNS"
|
name: "Configure Google DNS"
|
||||||
command: |
|
command: |
|
||||||
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
|
# Backup original resolv.conf
|
||||||
|
sudo cp /etc/resolv.conf /etc/resolv.conf.backup
|
||||||
|
# Add both local and Google DNS servers
|
||||||
|
echo "nameserver 127.0.0.11" | sudo tee /etc/resolv.conf
|
||||||
|
echo "nameserver 8.8.8.8" | sudo tee -a /etc/resolv.conf
|
||||||
echo "nameserver 8.8.4.4" | sudo tee -a /etc/resolv.conf
|
echo "nameserver 8.8.4.4" | sudo tee -a /etc/resolv.conf
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -242,6 +246,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- setup_google_dns
|
||||||
- run:
|
- run:
|
||||||
name: Show git commit hash
|
name: Show git commit hash
|
||||||
command: |
|
command: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue