We use the default Raspberry Pi distribution, Raspbian, to run PySPARC. But if you simply insert an SD with Raspbian, you need to install a few things before the Pi connects to the HiSPARC VPN. Only then can you easily provision the Pi. That is a bit cumbersome, especially since you need either a monitor and keyboard, or you need to know the IP address the Pi is going to get from the DHCP server. You can connect the Pi to your Macbook Pro, but you can only share your internet connection over non-802.1X WiFi networks.
The solution is to create a disk image which will automatically connect the Pi to the VPN.
Todo:
[x] install the VPN config and certificate
[x] create the script to install openvpn
[x] set the timezone
[x] set the locale
[x] enlarge the partition using raspi-config
[x] the playbook should be able to update the authorized_keys and VPN config files on the Pi's.
We use the default Raspberry Pi distribution, Raspbian, to run PySPARC. But if you simply insert an SD with Raspbian, you need to install a few things before the Pi connects to the HiSPARC VPN. Only then can you easily provision the Pi. That is a bit cumbersome, especially since you need either a monitor and keyboard, or you need to know the IP address the Pi is going to get from the DHCP server. You can connect the Pi to your Macbook Pro, but you can only share your internet connection over non-802.1X WiFi networks.
The solution is to create a disk image which will automatically connect the Pi to the VPN.
Todo: