use elevator noop for all images and reorder commands

This commit is contained in:
Kevin Olbrich 2019-11-04 03:08:27 +01:00
parent da582874d0
commit b06d9ff28e
3 changed files with 11 additions and 3 deletions

View file

@ -32,4 +32,5 @@ class ConfigureGrub(Task):
'console=ttyS0,115200n8',
'earlyprintk=ttyS0,115200',
'rootdelay=300',
'elevator=noop',
])

View file

@ -14,8 +14,11 @@ class SetGrubConsolOutputDeviceToVirtual(Task):
@classmethod
def run(cls, info):
info.grub_config['GRUB_CMDLINE_LINUX'].append('console=tty0')
info.grub_config['GRUB_CMDLINE_LINUX'].append('elevator=noop')
info.grub_config['GRUB_CMDLINE_LINUX'].extend([
'console=tty0',
'consoleblank=0',
'elevator=noop',
])
class SetGrubSystemdShowStatus(Task):

View file

@ -11,4 +11,8 @@ class AddVirtualConsoleGrubOutputDevice(Task):
@classmethod
def run(cls, info):
info.grub_config['GRUB_CMDLINE_LINUX_DEFAULT'].append('console=tty0')
info.grub_config['GRUB_CMDLINE_LINUX'].extend([
'console=tty0',
'consoleblank=0',
'elevator=noop',
])