mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
Minor changes to GRUB configuration regarding console and serial console
This commit is contained in:
parent
fe0f8eba5b
commit
fb31ae3c70
1 changed files with 3 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue