anaconda: more general (and working...) detection of qubes kernel

This commit is contained in:
Marek Marczykowski 2012-07-19 00:24:05 +02:00
parent ad83f834d2
commit 376954e900

View File

@ -349,7 +349,7 @@ class x86BootloaderInfo(efiBootloaderInfo):
if initrd:
f.write('\tmodule %s%s\n' % (cfPath, initrd))
elif version.find("xenlinux") >= 0 || version.find("pvops") >= 0:
elif version.find("qubes") >= 0:
# Qubes kernel
hvFile = "%sxen.gz" %(cfPath)
f.write('\tkernel %s console=com1\n' %(hvFile,))