mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-06 10:18:20 +00:00
Do not proceed past boot into standby
Some installers advance the destiny multiple times. Avoid going off the edge into 'standby' in such scenarios.
This commit is contained in:
@@ -866,7 +866,12 @@ sub nextdestiny {
|
||||
$ref->{currchain} = $ref->{chain};
|
||||
} elsif ($ref->{currchain} !~ /[,;]/){
|
||||
if ($ref->{currstate} and ($ref->{currchain} =~ /$ref->{currstate}/)) {
|
||||
$ref->{currchain} = 'standby';
|
||||
if ($ref->{currstate} eq 'boot') {
|
||||
$ref->{currchain} = 'boot';
|
||||
}
|
||||
if ($ref->{currchain} ne 'boot') {
|
||||
$ref->{currchain} = 'standby';
|
||||
}
|
||||
$callnodeset = 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user