What can I do if I can only use a raw x86_64 image and I can’t use a DHCP?
Doesn’t the IoT part imply connectivity as a requirement? Just asking, no sarcasm intended.
Sure. But there are some environments where a DHCP isn’t available.
I’m not familiar with the IoT image, but maybe link-local addresses could be used? I’ve made use of these before by adding, for example,
to the /etc/hosts file of my Linux client(s).
Good point, it is the case in most edge computing situations out in the field I would guess, in particular those RTU applications for IoT.
I found a way (a workaround?).
linux line in grub, by adding
Press Enter for maintenance. In the shell edit the
/sysroot/etc/sysconfig/network-scripts/ifcfg-eth0 file in the usual way:
BOOTPROTO="none" IPADDR=18.104.22.168 NETMASK= GATEWAY= ...
and so on.