Skip to content

Prefer /etc/os-release to detect OS name-version

I modified the host detection used in LbEnv bootstrap to prefer /etc/os-release and fall back on /etc/redhat-release or /etc/lsb-release.

@tlatham can you check if it still works on your RHEL machines, please?

@bcouturi, we may add integration tests to check that we do not break the know OSs.

This is in sync with LbPlatformUtils#9 (closed)

Edited by Marco Clemencic

Merge request reports