Skip to content

Instantly share code, notes, and snippets.

@torumakabe
Last active April 13, 2018 03:59
Show Gist options
  • Save torumakabe/a33750a074eb2f215ba61d4f1f0e2fe7 to your computer and use it in GitHub Desktop.
Save torumakabe/a33750a074eb2f215ba61d4f1f0e2fe7 to your computer and use it in GitHub Desktop.
#!/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