Skip to content

Conversation

@perf2711
Copy link
Contributor

@perf2711 perf2711 commented Oct 8, 2025

In some cases, like on Linux, the returned machine ID may not be a GUID, but a hostname:

( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :

This change makes sure that non-GUID results are hashed and returned as GUIDs.

@perf2711 perf2711 requested a review from konraddysput October 8, 2025 11:42
@perf2711 perf2711 self-assigned this Oct 8, 2025
@perf2711 perf2711 added the bug Something isn't working label Oct 8, 2025
@perf2711 perf2711 force-pushed the bugfix/node-machine-uuid branch from 6b78af8 to 5dc0b2c Compare October 8, 2025 11:42
@perf2711 perf2711 force-pushed the bugfix/node-machine-uuid branch from 5dc0b2c to 5db3458 Compare October 8, 2025 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants