Revert "Use new command for DHCP discovery check"
This reverts commit a0c53594e8
.
Change-Id: Ic1688f30dc6a4c8e8339b9d9d25416daaaeffa4f
This commit is contained in:
parent
a0c53594e8
commit
2d3f9db07b
|
@ -63,7 +63,7 @@ module MCollective
|
||||||
format = request.data[:format] || "json"
|
format = request.data[:format] || "json"
|
||||||
timeout = request.data[:timeout] || 2
|
timeout = request.data[:timeout] || 2
|
||||||
repeat = request.data[:repeat] || 1
|
repeat = request.data[:repeat] || 1
|
||||||
cmd = "dhcpcheck discover '#{interfaces}' --timeout=#{timeout} --format=#{format} --repeat=#{repeat} "
|
cmd = "dhcpcheck vlans '#{interfaces}' --timeout=#{timeout} --format=#{format} --repeat=#{repeat} "
|
||||||
reply[:status] = run(cmd, :stdout => :out, :stderr => :err)
|
reply[:status] = run(cmd, :stdout => :out, :stderr => :err)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue