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:
parent
addd30180e
commit
df1896dca8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user