Created
April 20, 2023 10:17
-
-
Save bamedro/a1df9fa6aacc471de4e42e8e7503dbbf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir /tmp/web | |
cd /tmp/web | |
echo "Hello from $HOSTNAME" > index.html | |
python3 -m http.server 8080 | |
#curl -s -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2021-02-01" | jq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment