fix #671 need to discover nodes on CLI discover
This commit is contained in:
@@ -134,7 +134,7 @@ foreach my $host (@hostlist) {
|
|||||||
action => $action,
|
action => $action,
|
||||||
device => $dev,
|
device => $dev,
|
||||||
port => $port,
|
port => $port,
|
||||||
subaction => $extra,
|
subaction => ($extra || (($action eq 'discover') ? 'with-nodes' : undef)),
|
||||||
username => ($ENV{USER} || 'netdisco-do'),
|
username => ($ENV{USER} || 'netdisco-do'),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user