Automated deployment of rpi
First run create_bootable_raspbian.sh - this script prepares the SD card with Wifi and Networking configured Second run setup_remote_pi.sh - this configures users, change networking, hostname and install docker
- Download latest image
- Decompress
- Add bootfile
- Copy the new image with IP via dd
- Config wifi
- Config networking
- Use setup_remote_pi.sh script to configure initial values
Usage:
Usage: sudo ././create_bootable_raspbian.sh <SSID> <PSK> [-d|--download]
Options:
-d|--download : download and edit raspbian image in case of first run
- Configure Wifi
- Configure static IP for wlan0
- Setup keyboard language
- Create user atyu
- Password atyu
- Enable SSH
- Enable i2c and spi for GPIO
- Install vim
- Install rpi.GPIO
- Install docker - ToDo
Optional: disable user pi