This script gets a pi up and running for production using hypriot images.
- prompts to change the default password
- removes the built in docker
- updates the os
- sets up nfs and mounts the nfs share
- creates, mounts, and updates fstab with swap space
- sets up kernel parameters to avoid swap as much as possible
- installs custom built docker
- joins the swarm
- reconnects to network if the network connection is lost
- sets up docker-gc to run hourly
- reboots the machine