Univention Bugzilla – Attachment 7458 Details for
Bug 40596
option to configure serial access (serial console) via ucr
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
enhances grub configuration by using "grub/terminal" and "grub/serialcommand" variables
grub.patch (text/plain), 1.17 KB, created by
Lutz Willek
on 2016-02-06 15:24:10 CET
(
hide
)
Description:
enhances grub configuration by using "grub/terminal" and "grub/serialcommand" variables
Filename:
MIME Type:
Creator:
Lutz Willek
Created:
2016-02-06 15:24:10 CET
Size:
1.17 KB
patch
obsolete
>--- /etc/univention/templates/files/etc/default/grub_ORIG 2016-02-01 09:14:44.000000000 +0100 >+++ /etc/univention/templates/files/etc/default/grub 2016-02-06 14:04:53.541992496 +0100 >@@ -34,9 +34,20 @@ > # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) > #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" > >-# Uncomment to disable graphical terminal (grub-pc only) >-#GRUB_TERMINAL=console >- >+# Configure UCR Variable "grub/terminal" to disable graphical terminal (grub-pc only)' >+@!@ >+if configRegistry.get('grub/terminal'): >+ print 'GRUB_TERMINAL="%s"' % configRegistry.get('grub/terminal') >+else: >+ print '#GRUB_TERMINAL="console"' >+@!@ >+# Configure UCR Variable "grub/serialcommand" to adapt GRUB_SERIAL_COMMAND settings >+@!@ >+if configRegistry.get('grub/serialcommand'): >+ print 'GRUB_SERIAL_COMMAND="%s"' % configRegistry.get('grub/serialcommand') >+else: >+ print '#GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"' >+@!@ > # The resolution used on graphical terminal > # note that you can use only modes which your graphic card supports via VBE > # you can see them in real GRUB with the command `vbeinfo'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40596
:
7457
| 7458