mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
fix [fvt] nodeset node diskless image failed for could not find the diskless image #2188
This commit is contained in:
parent
8dcb2cfb3c
commit
72f66aed71
@ -1220,7 +1220,7 @@ sub mknetboot
|
||||
copy("$rootimgdir/initrd.gz", "$rootimgdir/initrd-stateless.gz");
|
||||
}
|
||||
}
|
||||
unless (-f -r $compressedrootimg) {
|
||||
unless (-f -r "$rootimgdir/$compressedrootimg") {
|
||||
$callback->({
|
||||
error => ["No packed image for platform $osver, architecture $arch, and profile $profile, please run packimage (e.g. packimage -o $osver -p $profile -a $arch"],
|
||||
errorcode => [1] });
|
||||
|
@ -379,7 +379,7 @@ sub mknetboot
|
||||
}
|
||||
}
|
||||
|
||||
unless (-r -f $compressedrootimg) {
|
||||
unless (-r -f "$rootimgdir/$compressedrootimg") {
|
||||
$callback->({
|
||||
error => [qq{No packed image for platform $osver, architecture $arch, and profile $profile, please run packimage before nodeset}],
|
||||
errorcode => [1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user