|
|
@ -656,6 +656,10 @@ class VariableOsInstallGrubTerminal(Variable):
|
|
|
|
'etc/default/grub')
|
|
|
|
'etc/default/grub')
|
|
|
|
if getValueFromConfig(grubDefault,'GRUB_TERMINAL') == 'console':
|
|
|
|
if getValueFromConfig(grubDefault,'GRUB_TERMINAL') == 'console':
|
|
|
|
return 'console'
|
|
|
|
return 'console'
|
|
|
|
|
|
|
|
grubCfg = '/boot/grub/grub.cfg'
|
|
|
|
|
|
|
|
if re.search('^terminal_output\s*console',readFile(grubCfg),re.M):
|
|
|
|
|
|
|
|
return 'console'
|
|
|
|
|
|
|
|
|
|
|
|
return 'gfxterm'
|
|
|
|
return 'gfxterm'
|
|
|
|
|
|
|
|
|
|
|
|
def choice(self):
|
|
|
|
def choice(self):
|
|
|
|