diff --git a/xCAT-server/lib/xcat/plugins/imgcapture.pm b/xCAT-server/lib/xcat/plugins/imgcapture.pm index ff7874541..5ac2db812 100644 --- a/xCAT-server/lib/xcat/plugins/imgcapture.pm +++ b/xCAT-server/lib/xcat/plugins/imgcapture.pm @@ -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 "; }