This message was deleted.
# elemental
a
This message was deleted.
b
machineName
looks wrong. let me check my notes
eh I might be remembering this incorrectly.
machineName: ${System Data/Runtime/Hostname}
is what's working in mine.
Are you sure the endpoint cloud config is getting applied? Are your other
machineInventoryLabels
working?
v
Yes, the other
machineInventoryLabels
are populating.
b
hm. We're reserving the IP through DHCP and setting the hostname there. I'm guessing you checked the dhcpd logs already?
I'm kinda out of ideas for you.
v
I have not checked dhcpd logs. Would they persist to the final provisioned Elemental system, or do they get purged as part of init?
Or are you the DHCP Server logs
b
Like from your dhcp server
v
I have not. I will check there next.
b
That's where the hostname has to get set (at least in our setup)
v
Am I correct in understanding that the ptr record is responsible for actually providing the hostname -- the dhcp server is just an approach to creating that record dynamically?
b
I don't know if dhcpd creates a ptr record or not.
We aren't setting one explicitly, just throwing the hostname in the dhcp config.
v
Do you use DHCP Option 12?
Wow! So, it appears to be an MS DHCP quirk. MS DHCP Reservations do not send OPT 12 information. I guess MS didn't properly entirely implement the reservation RFC. With OPT12 info attached to the reservation, the name is populating in Rancher!
b
🎉
Leave it to M$ to screw it up.