# File lib/rubyipmi/ipmitool/commands/bmc.rb, line 25 def reset(type='cold') if ['cold', 'warm'].include?(type) @options["cmdargs"] = "bmc reset #{type}" value = runcmd() @options.delete_notify("cmdargs") return value else raise "reset type: #{type} is not a valid choice, use warm or cold" end end