Open ThomasCr opened 4 years ago
and yes i know how to manually set the name in /etc/hosts & /etc/hostname - but this requires to boot the sdcard or mount the image (needs linux host)
There is an implantation of this on OctoPI here: https://github.com/guysoft/OctoPi/blob/devel/src/modules/octopi/start_chroot_script#L210
A PR is welcome, even a PR in to CustomPiOS in the base module: https://github.com/guysoft/CustomPiOS/tree/devel/src/modules/base
I am kinda busy for this now.
It would be nice, to set the hostname automatically over simple file in /boot - it makes it easy to set up multiple devices.