FullPageOS icon indicating copy to clipboard operation
FullPageOS copied to clipboard

replace {hostname} with the $HOSTNAME system variable

Open m8522s opened this issue 1 year ago • 5 comments

Use the variable {hostname} in the URL of /boot/firmware/fullpageos.txt to make use of the Raspi's hostname in the URL. This works similar to the {serial} variable.

m8522s avatar Jan 23 '25 14:01 m8522s

Hey, what is the use case for this? Why not use localhost?

Also, might need to rebase or fix the firmware path to /boot/firmware.

guysoft avatar May 05 '25 12:05 guysoft

The idea is to prepare a directory structure on the web server, that is based on the hostname of the Raspi. Each Raspi gets the same entry in the /boot/firmware/fullpageos.txt file, like

https://server.example.net/images-for/{hostname}/

This approach allows for easy provisioning and scaling.

m8522s avatar May 05 '25 12:05 m8522s

Ok got it, will approve just fix the path it should be boot/firmware/fullpageos not with the firmware removed like you posted.

guysoft avatar Jun 17 '25 07:06 guysoft

Would love to see this merged and be able to take advantage of {hostname} as well.

Yukigamine avatar Jul 19 '25 16:07 Yukigamine

Ok, its parking because there is a small change that is still needed, the path it should be boot/firmware/fullpageos

guysoft avatar Jul 19 '25 21:07 guysoft