>From 772949e8e0c41e49801ccc0de4d5315ebcb867e9 Mon Sep 17 00:00:00 2001 From: Bill Peck Date: Mon, 17 May 2010 16:38:01 -0400 Subject: [PATCH 14/14] ignore wrong initrd --- cobbler/action_import.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cobbler/action_import.py b/cobbler/action_import.py index 03f796b..b7310bd 100644 --- a/cobbler/action_import.py +++ b/cobbler/action_import.py @@ -538,7 +538,7 @@ class Importer: self.logger.info("following symlink: %s" % fullname) os.path.walk(fullname, self.distro_adder, distros_added) - if ( x.startswith("initrd") or x.startswith("ramdisk.image.gz") ) and x != "initrd.size": + if ( x.startswith("initrd") or x.startswith("ramdisk.image.gz") ) and x != "initrd.size" and x != "initrd.addrsize": if x.find("PAE") == -1: initrd = os.path.join(dirname,x) else: -- 1.6.6.1