Whamcloud - gitweb
LU-16672 tests: auster node.yml labels Alma and Rocky as CentOS 42/50442/3
authorCharlie Olmstead <charlie@whamcloud.com>
Mon, 27 Mar 2023 20:08:57 +0000 (14:08 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 14 Apr 2023 09:57:48 +0000 (09:57 +0000)
commit3d6c37836b4bb7b1e6ea90bb7aacf4715e44c667
treebcbd11396668ebc79bb0dc670447bdbe5bbc6fb7
parent654d5f3fa4df2a0f7275a6da0f050a18881f4f75
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>
lustre/tests/yaml.sh