2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-16 00:00:23 +00:00

Extract full version information

This commit is contained in:
Mark Gurevich
2021-05-19 14:07:29 -04:00
parent 2c3fd1aaaa
commit 63ebc1497b

View File

@@ -146,7 +146,8 @@ if (-e "/etc/debian_version") {
}
# determine whether redhat or sles
$::linuxos = xCAT::Utils->osver();
$::linuxos = xCAT::Utils->osver("all"); # returns "name,version.release"
$::linuxos =~ tr/,//d; # remove comma separating release name and version numbers
# is this MariaDB or MySQL
$::MariaDB = 0;