2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-24 20:20:33 +00:00

Merge pull request #5206 from cxhong/5098

Fix ERR message when running ondiscover in the chain table
This commit is contained in:
zet809
2018-05-16 13:56:54 +08:00
committed by GitHub

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