From b00b0a77c9343af52b01e28470601f879aa120f7 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Mon, 17 Jan 2011 16:29:46 +0100 Subject: [PATCH] Use [images-xen] section for PAE and xen kernels --- src/pylorax/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index 315693cd..bd145339 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -407,7 +407,7 @@ class Lorax(BaseLoraxClass): initrds.append(initrd) # 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)} treeinfo.add_section(section, data) data = {"initrd": "images/pxeboot/{0}".format(initrd.fname)}