mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 19:22:05 +00:00
Process .bin files correctly by nodeset on RHEL 8.x
This commit is contained in:
parent
ac3fc3fa7a
commit
b8f9c70fd2
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user