Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- yum install -y httpd
- name=$(curl http://169.254.169.254/latest/meta-data/instance-id)
- echo "<html><body>I am $name</body></html>" > /var/www/html/index.html
- /etc/init.d/httpd start
Add Comment
Please, Sign In to add comment