thin-edge / tedge-rugpi-image

thin-edge.io Raspberry Pi 0/1B/2B/3/4/5 image using rugpi for A/B updates
https://thin-edge.io/
2 stars 8 forks source link

fix: update hostname by using tmp file #43

Closed reubenmiller closed 10 months ago

reubenmiller commented 10 months ago

Use explict tmp file when replacing the hostname in the /etc/hosts file rather than doing an in-place edit.

Related issue: https://github.com/thin-edge/tedge-rugpi-image/issues/42