# File lib/rubyipmi/ipmitool/commands/chassis.rb, line 39 def bootdevice(device, reboot=false,persistent=false) if config.bootdevices.include?(device) bootstatus = config.bootdevice(device, persistent) if reboot and status power.cycle end else raise "Device with name: #{device} is not a valid boot device for host #{options["hostname"]}" end return bootstatus end