treeinfo has to be addressed as self.treeinfo

This commit is contained in:
Martin Gracik 2011-03-15 10:54:25 +01:00
parent 3c8ccf997a
commit c922ae64a9
1 changed files with 2 additions and 2 deletions

View File

@ -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