i'm building an embedded prototyp with a raspberry pi 3b+ and its booting via pxe from the network read only.
Multiple devices share the same root file system and just the boot folders are customized for every pi.
I want to configure all hostnames of the pis with the help of the cmdline.txt.
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/nfs nfsroot=172.30.1.1:/nfs/disp_root_fs,vers=3 r ip=dhcp rootwait elevator=deadline kernel.hostname=disp13
But the kernel.hostname is not set in the running system. Instead the hostname is just the ip of the pi that it got from the dhcp server.
Does anybody know where the pi is setting the hostname to the ip? I would try to comment it out so the cmdline variable will be the hostname.
Thanks in advance.