diff --git a/perl-xCAT/xCAT/data/discinfo.pm b/perl-xCAT/xCAT/data/discinfo.pm index 445cf5eab..b7dd0e553 100755 --- a/perl-xCAT/xCAT/data/discinfo.pm +++ b/perl-xCAT/xCAT/data/discinfo.pm @@ -14,6 +14,7 @@ require Exporter; use strict; our %distnames = ( + "1624205633.869423" => "rocky8.4", #x86_64 "1578087695.538488" => "centos8.1", #x86_64 "1578087695.537220" => "centos8.1", #ppc64le "1480943823.812754" => "centos7.3", #x86_64 diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 117ecdb31..b73fb78ee 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -2132,16 +2132,6 @@ sub copycd my @ol_version = split /[- ]/, $desc; $distname = "ol" . $ol_version[1]; } - elsif ($desc =~ /Rocky Linux/) - { - # - # Attempt to auto-detect for Rocky Linux OS, the last element - # (accessed with [-1] array index) has typically been the version - # ex: "Rocky Linux 8" - # - my @rl_version = split / /, $desc; - $distname = "rocky" . $rl_version[-1]; - } elsif ($desc =~ /^[\d\.]+$/) { open($dinfo, $mntpath . "/.treeinfo");