fix for bug 3529354: imgcapture does not work with -o imagename flag

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2012-06-27 07:09:53 +00:00
parent 80d7105e4b
commit 2bee456744

View File

@ -337,7 +337,7 @@ sub imgcapture {
my $cmd;
if( $osimg ) {
$cmd = "$::XCATROOT/share/xcat/netboot/$platform/genimage $osimg";
$cmd = "$::XCATROOT/bin/genimage $osimg ";
} else {
$cmd = "$::XCATROOT/share/xcat/netboot/$platform/genimage -o $os -a $arch -p $profile ";
}