diff --git a/xCAT-server/lib/xcat/plugins/destiny.pm b/xCAT-server/lib/xcat/plugins/destiny.pm index b82cac056..5abcbf0b8 100755 --- a/xCAT-server/lib/xcat/plugins/destiny.pm +++ b/xCAT-server/lib/xcat/plugins/destiny.pm @@ -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; } }