Last active
April 13, 2018 03:59
-
-
Save torumakabe/a33750a074eb2f215ba61d4f1f0e2fe7 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 | |
apt update | |
apt install nginx -y | |
echo "[Instance Name]: `curl -H Metadata:true "http://169.254.169.254/metadata/instance/compute/name?api-version=2017-12-01&format=text"` [Date]: `date`" > /var/www/html/index.nginx-debian.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment