netdata icon indicating copy to clipboard operation
netdata copied to clipboard

Fix existing install detection for FreeBSD and macOS.

Open Ferroin opened this issue 3 years ago • 0 comments

Summary

Due to issues relating to https://github.com/netdata/netdata/issues/13242, install type detection for existing installs is broken on some systems. This fixes things so that the detection works correctly on such systems without needing to fix the root cause.

Test Plan

This can be tested by running the kickstart.sh script on a FreeBSD or macOS system that has an existing install of the agent created by running the kickstart script.

Using the kickstart script in the master branch, this will throw an error due to not being able to identify the install type.

Using the kickstart script from this PR, it will correctly detect the install type and proceed normally.

Additional Information

Relevant to (but does not completely fix): https://github.com/netdata/netdata/issues/13230

For users: How does this change affect me? Using the kickstart script to update or claim existing installs on FreeBSD and macOS systems will now work correctly.

Ferroin avatar Jun 28 '22 13:06 Ferroin