diff options
-rw-r--r-- | cobbler/action_import.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cobbler/action_import.py b/cobbler/action_import.py index cdb6ee1d..704effa8 100644 --- a/cobbler/action_import.py +++ b/cobbler/action_import.py @@ -888,7 +888,12 @@ class RedHatImporter ( BaseImporter ) : # ================================================================ def get_release_files(self): - return glob.glob(os.path.join(self.get_pkgdir(), "*release-*")) + data = glob.glob(os.path.join(self.get_pkgdir(), "*release-*")) + data2 = [] + for x in data: + if x.find("generic") == -1: + data2.append(x) + return data2 # ================================================================ |