Skip to content

Instantly share code, notes, and snippets.

@kirankotari
Forked from abraunton/provision-web.sh
Created February 20, 2019 05:16
Show Gist options
  • Save kirankotari/d1549bc17b4b5f931e991d2be84b491f to your computer and use it in GitHub Desktop.
Save kirankotari/d1549bc17b4b5f931e991d2be84b491f to your computer and use it in GitHub Desktop.
#!/bin/bash
echo 'Starting Provision: web'$1
sudo apt-get update
sudo apt-get install -y nginx
echo "<h1>Machine: web"$1"</h1>" >> /usr/share/nginx/html/index.html
echo 'Provision web'$1 'complete'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment