treeinfo has to be addressed as self.treeinfo
This commit is contained in:
parent
3c8ccf997a
commit
c922ae64a9
@ -529,9 +529,9 @@ class X86(object):
|
||||
if self.basearch == "x86_64":
|
||||
section = "images-xen"
|
||||
data = {"kernel": joinpaths(PXEBOOTDIR, kernel.fname)}
|
||||
treeinfo.add_section(section, data)
|
||||
self.treeinfo.add_section(section, data)
|
||||
data = {"initrd": joinpaths(PXEBOOTDIR, initrd.fname)}
|
||||
treeinfo.add_section(section, data)
|
||||
self.treeinfo.add_section(section, data)
|
||||
|
||||
def create_boot(self, efiboot=None):
|
||||
# define efiargs and efigraft
|
||||
|
Loading…
Reference in New Issue
Block a user