This is the repository containing an Ansible playbook for provisioning my Raspberry Pi running Arch Linux ARM which is sitting in my closet.
- Follow the Mount SD card in VirtualBox from Mac OS X Host guide to get access to SD Card from VirtualBox running on OS X host.
- Prepare SD Card with these instructions
- Before running
umount boot root
from above, runsync
. - After running
umount boot root
from above, shutdown VirtualBox and then Eject the SD Card from OS X. - Insert SD Card into Pi and boot
ssh alarm@[IP from device list]
(password: alarm)su root
(password: root)mkdir ~/.ssh
curl -o ~/.ssh/authorized_keys https://github.com/bradyholt.keys
reboot
- Ensure Ansible 2.2 is installed
provision.sh
(ansible-vault password located Google Drive > Secrets > Passwords)
vistaicm-server can be updated partially, either by deploying the hooks or by deploying the latest version of the code from the local development folder.
- To only update the vistaicm-server hooks, you can run
copy-hooks.sh
. - To copy over the latest ~/dev/vistaicm-server/server.js file and restart the server, run
./scripts/deploy-vistaicm-server.sh
.
- Device Address = 18
- Setup site: http://192.168.1.28/setup
- Mobile site: http://192.168.1.28/pda