defect 3108411: rollupdate - remove old XCAT_UPDATEALL LL machine feature values
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
47dbfbd439
commit
e02fc9d546
@ -1221,10 +1221,16 @@ sub set_LL_feature {
|
||||
my @llfeatures;
|
||||
my $haveit = 0;
|
||||
if ( $llcfgout =~ /:FEATURE =/ ) {
|
||||
my ($stuff,$newfeature_string) = split(/=/,$llcfgout);
|
||||
my ($stuff,$curfeature_string) = split(/=/,$llcfgout);
|
||||
my $newfeature_string = "";
|
||||
my ($machine,$morestuff) = split(/:/,$stuff);
|
||||
@llfeatures = split(/\s+/,$newfeature_string);
|
||||
@llfeatures = split(/\s+/,$curfeature_string);
|
||||
foreach my $f (@llfeatures) {
|
||||
if ($f =~ /XCAT_UPDATEALL\d*/) {
|
||||
$f = "";
|
||||
} else {
|
||||
$newfeature_string .= " $f";
|
||||
}
|
||||
if ($f eq $feature){
|
||||
$haveit = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user