# File lib/rubyipmi/ipmitool/commands/chassisconfig.rb, line 5 def initialize(opts = ObservableHash.new) super("ipmitool", opts) end
shortcut to boot into bios setup
# File lib/rubyipmi/ipmitool/commands/chassisconfig.rb, line 51 def bootbios(persistent=true) bootdevice("bios",persistent) end
shortcut to set boot device to cdrom
# File lib/rubyipmi/ipmitool/commands/chassisconfig.rb, line 46 def bootcdrom(persistent=true) bootdevice("cdrom",persistent) end
Get the current boot device
# File lib/rubyipmi/ipmitool/commands/chassisconfig.rb, line 11 def bootdevice # Not available with ipmitool false end
Get list of available boot devices
# File lib/rubyipmi/ipmitool/commands/chassisconfig.rb, line 29 def bootdevices # ideally we should get this list from the ipmidevice # However ipmitool only has a static list ["pxe", "disk", "safe", "diag", "cdrom", "bios", "floppy"] end
shortcut to set boot device to disk
# File lib/rubyipmi/ipmitool/commands/chassisconfig.rb, line 41 def bootdisk(persistent=true) bootdevice("disk",persistent) end
shortcut to set boot device to pxe
# File lib/rubyipmi/ipmitool/commands/chassisconfig.rb, line 36 def bootpxe(persistent=true) bootdevice("pxe",persistent) end