Fabric script for automating various tasks on the Raspberry Pi.
fab --hosts=ip_or_hostname_for_pi name_of_task
update_upgrade- Performssudo apt-get updatethensudo apt-get upgrade -y.reboot- Reboothalt- Haltinstall_node:node_version:pi_version- Download and install Node.js.node_versionis the version of Node.js to install. Example:4.2.6.pi_versionis the version of the Raspberry Pi board. Use a2for the Raspberry Pi 2 Model B, otherwise leave blank for older boards.
This project includes a Dockerfile and docker-compose.yml to use this project without having to install Fabric locally.
docker-compose run fab --hosts=ip_or_hostname_for_pi name_of_task