diff options
Diffstat (limited to 'cobbler')
-rw-r--r-- | 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 48f4b112..3de63b98 100644 --- a/cobbler/action_import.py +++ b/cobbler/action_import.py @@ -521,7 +521,7 @@ class Importer: if ( x.startswith("initrd") or x.startswith("ramdisk.image.gz") ) and x != "initrd.size": initrd = os.path.join(dirname,x) - if ( x.startswith("vmlinuz") or x.startswith("kernel.img") ) and x.find("initrd") == -1: + if ( x.startswith("vmlinu") or x.startswith("kernel.img") ) and x.find("initrd") == -1: kernel = os.path.join(dirname,x) if x.lower().startswith("startrom.n1_"): startrom = os.path.join(dirname,x) |