This project enables you to configure device properties such as hostname using a file on /boot partition like you enable ssh or wi-fi on Raspberry Pi.
- Create
bootsetupfolder in/bootpartition (only partition seen in Windows), here will reside all config files (Note: Some files may disappear during configuration process). - Configure different parameters, see docs folder.
# Build .deb file
make
# Copy .deb from dist/ to target device
# Install .deb
dpkg -i <name>.deb
# View logs
systemctl status bootsetup/boot/bootsetup
bashhistory # Clear bash history
dockerlogs # Clear docker logs
custom/ # Directory with custom scripts
custom-docker/ # Directory with custom docker scripts
hostname # Sets device hostname
lock # Locks down bootsetup system
passwd-USER # Sets user password
rootfs/ # Copies files to system (structured as from /)
sshauth-USER # Add SSH keys to authorized_keys for user
sshreset # Reset SSH keys
upgrade # Update & upgrade using apt
- Create script for parameter in
root/etc/bootsetup/scripts. - Make script EXECUTABLE !!.
- Add info below ## Config folder structure.
- Add detailed documentation in docs folder.
- Make pull request.
Submit issue here.
We use Debian versioning for versioning.