Merge pull request #435 from octivi/grub_console

Minor changes to GRUB configuration regarding console and serial console
This commit is contained in:
Anders Ingemann 2018-01-18 22:12:41 +01:00 committed by GitHub
commit f00c63eaeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -238,7 +238,7 @@ class SetGrubTerminalToConsole(Task):
@classmethod
def run(cls, info):
# See issue #245 for more details
info.grub_config['TERMINAL'] = 'console'
info.grub_config['GRUB_TERMINAL'] = 'console'
class SetGrubConsolOutputDeviceToSerial(Task):
@ -249,7 +249,8 @@ class SetGrubConsolOutputDeviceToSerial(Task):
@classmethod
def run(cls, info):
# See issue #245 for more details
info.grub_config['GRUB_CMDLINE_LINUX_DEFAULT'].append('console=ttyS0')
info.grub_config['GRUB_CMDLINE_LINUX'].append('console=ttyS0')
info.grub_config['GRUB_CMDLINE_LINUX'].append('earlyprintk=ttyS0')
class RemoveGrubTimeout(Task):