Revert "Use new command for DHCP discovery check"

This reverts commit a0c53594e8.

Change-Id: Ic1688f30dc6a4c8e8339b9d9d25416daaaeffa4f
This commit is contained in:
Artem Roma 2016-06-03 13:31:36 +00:00
parent a0c53594e8
commit 2d3f9db07b
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ module MCollective
format = request.data[:format] || "json"
timeout = request.data[:timeout] || 2
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)
end