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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user