Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistecolle committed Dec 2, 2024
1 parent fcb2cd6 commit 8b81fa6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/debug-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
METADATA_IP=$(getent hosts metadata.google.internal | awk '{ print $1 }')
echo "Metadata server IP address: ${METADATA_IP}"
echo "Fetching instance metadata directory:"
curl -s http://metadata.google.internal/computeMetadata/v1/instance/ -H "Metadata-Flavor: Google"
echo
STATUS_CODE=$(curl -s -o /dev/null -w "%{http_code}" "http://metadata.google.internal/computeMetadata/v1/instance/image" -H "Metadata-Flavor: Google")
RESPONSE=$(curl -s "http://metadata.google.internal/computeMetadata/v1/instance/image" -H "Metadata-Flavor: Google")
echo "Status code: $STATUS_CODE"
Expand Down

0 comments on commit 8b81fa6

Please sign in to comment.