mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-15 02:40:28 +00:00
Process .bin files correctly by nodeset on RHEL 8.x
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user