add CPE_NAME in OsRelease to support Amazon Linux 2
What critical bug this MR is fixing?
Cannot handle OsRelease correctly for Amazon Linux
About to run SSH command:
cat /etc/os-release
SSH cmd err, output: <nil>: NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
Couldn't set key CPE_NAME, no corresponding struct field found
How does this change help reduce cost of usage? What scale of cost reduction is it?
This will allow to use AMZ linux instead of RHEL
In what scenarios is this change usable with GitLab Runner's docker+machine executor?
This will close #66 (closed)
Edited by Tien Nguyen