mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-10-07 17:40:30 +00:00
Merge pull request #321 from andrewbogott/defaulttys0
Set a default of GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0"
This commit is contained in:
commit
d0ae5f138d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class ConfigureGrub(Task):
|
||||||
grub_def = os.path.join(info.root, 'etc/default/grub')
|
grub_def = os.path.join(info.root, 'etc/default/grub')
|
||||||
sed_i(grub_def, '^#GRUB_TERMINAL=console', 'GRUB_TERMINAL=console')
|
sed_i(grub_def, '^#GRUB_TERMINAL=console', 'GRUB_TERMINAL=console')
|
||||||
sed_i(grub_def, '^GRUB_CMDLINE_LINUX_DEFAULT="quiet"',
|
sed_i(grub_def, '^GRUB_CMDLINE_LINUX_DEFAULT="quiet"',
|
||||||
'GRUB_CMDLINE_LINUX_DEFAULT="console=hvc0"')
|
'GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0"')
|
||||||
sed_i(grub_def, '^GRUB_TIMEOUT=[0-9]+', 'GRUB_TIMEOUT=0\n'
|
sed_i(grub_def, '^GRUB_TIMEOUT=[0-9]+', 'GRUB_TIMEOUT=0\n'
|
||||||
'GRUB_HIDDEN_TIMEOUT=0\n'
|
'GRUB_HIDDEN_TIMEOUT=0\n'
|
||||||
'GRUB_HIDDEN_TIMEOUT_QUIET=true')
|
'GRUB_HIDDEN_TIMEOUT_QUIET=true')
|
||||||
|
|
Loading…
Add table
Reference in a new issue