Whamcloud - gitweb
LU-16672 tests: auster node.yml labels Alma and Rocky as CentOS 42/50442/5
authorCharlie Olmstead <charlie@whamcloud.com>
Mon, 27 Mar 2023 20:08:57 +0000 (14:08 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 22 Apr 2023 17:30:31 +0000 (17:30 +0000)
commitd5036b55b8c137aa6752e7cf585ce6a6a7c9e181
tree1c10b8612cbd69b742a3d85a799809285f881254
parentc412074ab08535f28576964141c7c0da0a726c3a
LU-16672 tests: auster node.yml labels Alma and Rocky as CentOS

release() assumes a node with /etc/centos-release is CentOS. This patch
removes that assumption and uses the name in the centos-release file.
Corrected the os-release code to strip off the last word if present.

Test-Parameters: trivial

Change-Id: Ia5acbce3351ca23f4d9265d1aaf8d952a2c8b502
Signed-off-by: Charlie Olmstead <charlie@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50442
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/yaml.sh