Fix GetOSVersion.sh it is broken for CentOS 7 discovery
CentOS 7 discovery is failing with the following exception:
GetOSVersion.sh due to a bug where centOs 7 was not discovered and reporting the following exception during the discovery process:
/etc/centos-release: line 1: syntax error near unexpected token `('
/etc/centos-release: line 1: `CentOS Linux release 7.2.1511 (Core) '
Workaround which works:
edit the /etc/centos-release file and remove the word (core) from the end, run discovery, then add (core) back.
affected: SCOM 2012 R2 UR12, SCOM 2016