Removed prefixes of postbootscripts since it should be done by buildkit command

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2012-10-31 08:52:28 +00:00
parent addd30180e
commit df1896dca8

View File

@ -310,7 +310,7 @@ sub assign_to_osimage
my @kitcompscripts = split ',', $kitcomptable->{postbootscripts};
foreach my $kitcompscript ( @kitcompscripts ) {
my $formatedkitcomp = "KIT_".$kitcompscript;
my $formatedkitcomp = $kitcompscript;
if ( $osimagetable ) {
if ( $osimagetable->{postbootscripts} ){
@ -1826,7 +1826,7 @@ sub rmkitcomp
foreach my $kitcomponent (keys %kitcomps) {
my @kitcompscripts = split( ',', $kitcomps{$kitcomponent}{postbootscripts} );
foreach my $kitcompscript ( @kitcompscripts ) {
if ( $osimagescript =~ /^KIT_$kitcompscript$/ ) {
if ( $osimagescript =~ /^$kitcompscript$/ ) {
$match = 1;
last;
}