mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 04:10:46 +00:00
Fix ERR message when running ondiscover in the chain table
This commit is contained in:
@ -185,6 +185,11 @@ sub setdestiny {
|
||||
$state = $stents{$_}->[0]->{currstate};
|
||||
$state =~ s/ .*//;
|
||||
|
||||
#skip the node if state=ondiscover
|
||||
if ($state eq 'ondiscover') {
|
||||
next;
|
||||
}
|
||||
|
||||
#get the osimagename if nodetype.provmethod has osimage specified
|
||||
#use it for both sninit and genesis operating
|
||||
if (($state eq 'install') || ($state eq 'netboot') || ($state eq 'statelite')) {
|
||||
|
Reference in New Issue
Block a user