Skip to content

Commit

Permalink
debugging metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistecolle committed Dec 2, 2024
1 parent cd28668 commit e2cba99
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/debug-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,19 @@ jobs:
group: gcp-ct5lp-hightpu-8t

steps:
- name: Install DNS utilities
run: |
apt-get update -y
apt-get install -y dnsutils iputils-ping curl
- name: Debug metadata
run: |
nslookup metadata.google.internal
ping -c 3 metadata.google.internal
ping -c 3 169.254.169.254
# Get the IP address of metadata.google.internal using getent
METADATA_IP=$(getent hosts metadata.google.internal | awk '{ print $1 }')
echo "Metadata server IP address: ${METADATA_IP}"
Expand Down

0 comments on commit e2cba99

Please sign in to comment.