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

Merge pull request #6971 from peterwywong/onie

Process .bin files correctly by nodeset on RHEL 8.x
This commit is contained in:
besawn
2021-05-07 17:41:41 -04:00
committed by GitHub

View File

@ -306,7 +306,7 @@ sub nodeset {
my $flag=0;
if (-r $image_pkgdir) {
my @filestat = `file $image_pkgdir`;
if (grep /$image_pkgdir: data/, @filestat) {
if ((grep /$image_pkgdir: data/, @filestat) || (grep /$image_pkgdir: .* \(binary data/, @filestat)) {
$flag=1;
}
}