mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 18:45:53 +00:00
204219ab7f
LXC containers share the host's /sys/class/dmi/id/product_uuid, which causes gopsutil to return identical HostIDs for all LXC containers on the same physical host. This results in agent ID collisions where multiple LXC containers appear as a single host in Pulse. The fix detects LXC containers and prefers /etc/machine-id (which is unique per container) over gopsutil's HostID. Related to #773