Script to do a headless install of Telraam (https://github.com/Telraam/Telraam-RPi) on a Raspberry Pi
The script is based the installation instructions Misc/general-configuration-HOWTO.txt including the latest security enhancements and latest Raspberry Pi OS and OpenCV version.
Download Raspberry Pi Imager from https://www.raspberrypi.org/downloads/
Use Raspberry Pi Imager to install the Raspberry Pi OS Lite on an SD card.
Download telramian.sh to the boot partition on the sd card. On Windows this is the only partition you can see and contains files such as cmdline.txt, config.txt,....
If you want to login via ssh instead of the console, create an empty file with name ssh in the same folder.
For improved security, the password of the pi user is set to a random one at each reboot. Your telraam will work perfectly fine, but you won't be able to log in.
If you want to be able to log in, just create an additional user
sudo adduser your_login_name
and give it sudo rightsp
sudo adduser your_login_name sudo
Login with user pi and password raspberry
Set execute permissions for the script
sudo chmod a+x /boot/telramian.sh
Execute the script
/boot/telramian.sh
The script will take a couple of hours to build (tested in Raspberry Pi 4 4GB)
The output is logged to telramian-build-yyyymmddhhmm.log
Operating instructions for telraam can be found on https://telraam.net
Enjoy :)