OPSYS broken on Amazon Linux

Description

Amazon Linux uses /etc/system-release to define the operating system name. Add that to the list of files that we inspect and also look for the "Amazon Linux" string.

Activity

Show:
John (TJ) Knoeller
March 22, 2021, 3:27 PM

CODE_REVIEW : looks good

Tim Theisen
March 19, 2021, 11:55 PM

I created the ticket and linked it here.

Tim Theisen
March 19, 2021, 10:58 PM

Agreed. We should make a ticket for devel. This was in stable. So, I was going for the minimal change.

Greg Thain
March 19, 2021, 10:39 PM

Note that what we probably should do is read /etc/os-release, which is designed for this sort of thing

Tim Theisen
March 15, 2021, 9:21 PM

Amazon Linux stores its version string in /etc/system-release instead of /etc/redhat-release.

Time remaining

0m

Assignee

Tim Theisen