mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
use elevator noop for all images and reorder commands
This commit is contained in:
parent
da582874d0
commit
b06d9ff28e
3 changed files with 11 additions and 3 deletions
|
@ -32,4 +32,5 @@ class ConfigureGrub(Task):
|
|||
'console=ttyS0,115200n8',
|
||||
'earlyprintk=ttyS0,115200',
|
||||
'rootdelay=300',
|
||||
'elevator=noop',
|
||||
])
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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',
|
||||
])
|
||||
|
|
Loading…
Add table
Reference in a new issue