mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 02:30:21 +00:00
set default scan_methord nmap
This commit is contained in:
@@ -2434,8 +2434,11 @@ sub bmclisthdl {
|
||||
|
||||
if ($params->{'resourcename'} eq "bmcdiscover") {
|
||||
if (isGET()) {
|
||||
push @args, "-s";
|
||||
push @args, $m_value;
|
||||
if ( defined($m_value) )
|
||||
{
|
||||
push @args, "-s";
|
||||
push @args, $m_value;
|
||||
}
|
||||
push @args, "--range";
|
||||
push @args, $ip_range;
|
||||
}
|
||||
|
Reference in New Issue
Block a user