Class: Bootloader::Grub2Widget::KernelTab

Inherits:
CWM::Tab
  • Object
show all
Includes:
Grub2Helper
Defined in:
src/lib/bootloader/grub2_widgets.rb

Overview

represents Tab with kernel related configuration

Instance Method Summary collapse

Methods included from Grub2Helper

#grub2, #grub_default, #password, #stage1

Instance Method Details

#contentsObject



807
808
809
810
811
812
813
814
815
# File 'src/lib/bootloader/grub2_widgets.rb', line 807

def contents
  VBox(
    VSpacing(1),
    MarginBox(1, 0.5, KernelAppendWidget.new),
    MarginBox(1, 0.5, Left(CpuMitigationsWidget.new)),
    MarginBox(1, 0.5, console_widget),
    VStretch()
  )
end

#labelObject



801
802
803
804
805
# File 'src/lib/bootloader/grub2_widgets.rb', line 801

def label
  textdomain "bootloader"

  _("&Kernel Parameters")
end