fix #671 need to discover nodes on CLI discover

This commit is contained in:
Oliver Gorwits
2019-12-21 22:19:09 +00:00
parent b04ffffc06
commit 92875f0e6f

View File

@@ -134,7 +134,7 @@ foreach my $host (@hostlist) {
action => $action,
device => $dev,
port => $port,
subaction => $extra,
subaction => ($extra || (($action eq 'discover') ? 'with-nodes' : undef)),
username => ($ENV{USER} || 'netdisco-do'),
};
}