OS version detection issue
llxia opened this issue · 1 comments
llxia commented
OS version detection prints out the osInfo
and osLabel
. In the following case, cent6-x64-1 does not have /etc/os-release
file. TKG sets OS_LABEL with the error msg. However, the cmdlinetest looks for no such file or directory
as a failure condition, finding it in the environment variable in the javacore.
23:04:10 osInfo : cat: /etc/os-release: No such file or directory
23:04:10 osLabel : grep: /etc/os-release: no such file or directory.grep: /etc/os-release: No such file or directory
00:34:45 [OUT] 2CIENVVAR OS_LABEL=grep: /etc/os-release: no such file or directory.grep: /etc/os-release: No such file or directory
00:34:45 >> Failure condition was found: [Output match: No such file or directory]