I am running Cobbler 2.6.3 and I have mounted the source directory on /mnt. My ISO is rhel-server-5.11-i386-dvd.iso. When I run cobbler import I get:

 

cobbler import --path=/mnt --name redhat

task started: 2015-01-29_115144_import

task started (id=Media import, time=Thu Jan 29 11:51:44 2015)

No signature matched in /var/www/cobbler/ks_mirror/redhat

!!! TASK FAILED !!!

 

The relevant section of distro_signatures.json is:

 

"redhat": {

  "rhel5": {

    "signatures":["RedHat","Server","CentOS","Client"],

    "version_file":"(redhat|sl|centos)-release-5([^\\.][\\w]*)?[\\.-]+(.*)\\.rpm",

    "version_file_regex":null,

    "kernel_arch":"kernel-(.*).rpm",

    "kernel_arch_regex":null,

    "supported_arches":["i386","x86_64","ppc","ppc64"],

    "supported_repo_breeds":["rsync", "rhn", "yum"],

    "kernel_file":"vmlinuz(.*)",

    "initrd_file":"initrd(.*)\\.img",

    "isolinux_ok":false,

    "default_kickstart":"/var/lib/cobbler/kickstarts/sample.ks",

    "kernel_options":"",

    "kernel_options_post":"",

    "boot_files":[]

   },

 

What am I missing for import to recognize the signature for this release?

 

Fred Magee, DTM

Systems Programmer

(505)768-2978

(505)768-4615 (Fax)

(505)205-5753 (Cell)

fmagee@cabq.gov