Skip to content

Instantly share code, notes, and snippets.

@abraunton
Last active February 20, 2019 05:16
Show Gist options
  • Save abraunton/1bfbf0aba866baa3b1fa to your computer and use it in GitHub Desktop.
Save abraunton/1bfbf0aba866baa3b1fa 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