From 2bee4567440c03c5f833bbe53210faafef80ded1 Mon Sep 17 00:00:00 2001 From: ligc Date: Wed, 27 Jun 2012 07:09:53 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/imgcapture.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "; }