Closed tifayuki closed 8 years ago
@fermayo I looked at how install-agent.sh
detected the distro:
1) only a few distro have lsb-release
command
2) debian_version
, fedora-release
, centos-release
, redhat-release
is not a standard format. It may only contain a string that cannot be parsed to distro/version
. I mean we can get the distro, but not the version.
3) os-release
works for ubuntu
, debian
,fedora
, centos
as I tested.
@fermayo I tested the RPM on centos 7 and fedora 24
@tifayuki have you tested the new RPM in all RPM-based supported distros? Also, why didn't you use the same mechanism we use in the
install-agent.sh
script to detect the distro?