Use [images-xen] section for PAE and xen kernels
This commit is contained in:
parent
52b2b136a1
commit
b00b0a77c9
@ -407,7 +407,7 @@ class Lorax(BaseLoraxClass):
|
|||||||
initrds.append(initrd)
|
initrds.append(initrd)
|
||||||
|
|
||||||
# add kernel and initrd paths to .treeinfo
|
# add kernel and initrd paths to .treeinfo
|
||||||
section = "images{0}".format(suffix or ("-" + self.basearch))
|
section = "images-{0}".format("xen" if suffix else self.basearch)
|
||||||
data = {"kernel": "images/pxeboot/{0}".format(kernel.fname)}
|
data = {"kernel": "images/pxeboot/{0}".format(kernel.fname)}
|
||||||
treeinfo.add_section(section, data)
|
treeinfo.add_section(section, data)
|
||||||
data = {"initrd": "images/pxeboot/{0}".format(initrd.fname)}
|
data = {"initrd": "images/pxeboot/{0}".format(initrd.fname)}
|
||||||
|
Loading…
Reference in New Issue
Block a user