mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-21 18:53:37 +00:00
02c4131853
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