diff --git a/xCAT-server/lib/perl/xCAT/IPMI.pm b/xCAT-server/lib/perl/xCAT/IPMI.pm index b4f9e467d..3e8002081 100644 --- a/xCAT-server/lib/perl/xCAT/IPMI.pm +++ b/xCAT-server/lib/perl/xCAT/IPMI.pm @@ -47,7 +47,7 @@ my $pendingpackets=0; my %tabooseq; #TODO: this is a global which means one taboo in the whole set causes unrelated session objects to consider it taboo unnecessarily my $maxpending; #determined dynamically based on rcvbuf detection my $ipmi2support; -if ( -f "/etc/debian_release" ){ +if ( -f "/etc/debian_release" or -f "/etc/debian_version"){ $ipmi2support = eval { require Digest::SHA; Digest::SHA->import(qw/sha1/);