2
0
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:
immarvin 2016-11-22 02:59:09 -05:00
parent 8dcb2cfb3c
commit 72f66aed71
2 changed files with 2 additions and 2 deletions

View File

@ -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] });

View File

@ -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]