mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-15 10:50:28 +00:00
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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user