2
0
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:
Casandra Qiu
2018-05-14 22:30:42 -04:00
parent 112f978d66
commit 6bc2d8d51e

View File

@ -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')) {