File add_generic_sles_signatures.diff of Package cobbler.3314

Index: cobbler-2.6.6/config/distro_signatures.json
===================================================================
--- cobbler-2.6.6.orig/config/distro_signatures.json
+++ cobbler-2.6.6/config/distro_signatures.json
@@ -311,6 +311,22 @@
    }
   },
   "suse": {
+   "suse": {
+    "signatures":[],
+    "version_file":"",
+    "version_file_regex":"",
+    "kernel_arch":"",
+    "kernel_arch_regex":"",
+    "supported_arches":["i386","x86_64", "ia64", "ppc", "ppc64", "s390", "s390x"],
+    "supported_repo_breeds":[],
+    "kernel_file":"",
+    "initrd_file":"",
+    "isolinux_ok":false,
+    "default_kickstart":"",
+    "kernel_options":"",
+    "kernel_options_post":"",
+    "boot_files":[]
+   },
    "opensuse11.2": {
     "signatures":["suse"],
     "version_file":"openSUSE-release-11.2-(.*).rpm",
@@ -423,9 +439,9 @@
     "kernel_options_post":"",
     "boot_files":[]
    },
-   "sles10": {
+   "sles10generic": {
     "signatures":["suse"],
-    "version_file":"sles-release-10-(.*).rpm",
+    "version_file":"sles-release-10(.*).rpm",
     "version_file_regex":null,
     "kernel_arch":"kernel-(.*)\\.rpm",
     "kernel_arch_regex":null,
@@ -445,7 +461,7 @@
     "version_file_regex":null,
     "kernel_arch":"kernel-(.*)\\.rpm",
     "kernel_arch_regex":null,
-    "supported_arches":["i386","i586","x86_64","ppc64"],
+    "supported_arches":["i386","i586","x86_64","ppc64", "s390x"],
     "supported_repo_breeds":["yum"],
     "kernel_file":"linux[64.gz]?",
     "initrd_file":"initrd[64]?",
@@ -461,7 +477,7 @@
     "version_file_regex":null,
     "kernel_arch":"kernel-(.*)\\.rpm",
     "kernel_arch_regex":null,
-    "supported_arches":["i386","i586","x86_64","ppc64"],
+    "supported_arches":["i386","i586","x86_64","ppc64", "s390x"],
     "supported_repo_breeds":["yum"],
     "kernel_file":"linux[64.gz]?",
     "initrd_file":"initrd[64]?",
@@ -477,7 +493,7 @@
     "version_file_regex":null,
     "kernel_arch":"kernel-(.*)\\.rpm",
     "kernel_arch_regex":null,
-    "supported_arches":["i386","i586","x86_64","ppc64"],
+    "supported_arches":["i386","i586","x86_64","ppc64", "s390x"],
     "supported_repo_breeds":["yum"],
     "kernel_file":"linux[64.gz]?",
     "initrd_file":"initrd[64]?",
@@ -493,7 +509,7 @@
     "version_file_regex":null,
     "kernel_arch":"kernel-(.*)\\.rpm",
     "kernel_arch_regex":null,
-    "supported_arches":["i386","i586","x86_64","ppc64"],
+    "supported_arches":["i386","i586","x86_64","ppc64", "s390x"],
     "supported_repo_breeds":["yum"],
     "kernel_file":"linux[64.gz]?",
     "initrd_file":"initrd[64]?",
@@ -503,13 +519,45 @@
     "kernel_options_post":"",
     "boot_files":[]
    },
+   "sles11generic": {
+    "signatures":["suse"],
+    "version_file":"sles-release-11(.*).rpm",
+    "version_file_regex":null,
+    "kernel_arch":"kernel-(.*)\\.rpm",
+    "kernel_arch_regex":null,
+    "supported_arches":["i386","i586","x86_64","ppc64", "s390x"],
+    "supported_repo_breeds":["yum"],
+    "kernel_file":"linux[64.gz]?",
+    "initrd_file":"initrd[64]?",
+    "isolinux_ok":false,
+    "default_kickstart":"/var/lib/cobbler/kickstarts/sample_autoyast.xml",
+    "kernel_options":"install=$tree",
+    "kernel_options_post":"",
+    "boot_files":[]
+   },
    "sles12": {
     "signatures":["suse"],
     "version_file":"(sles|SLES-for-VMware)-release-12-(.*).rpm",
     "version_file_regex":null,
     "kernel_arch":"kernel-(.*)\\.rpm",
     "kernel_arch_regex":null,
-    "supported_arches":["i386","i586","x86_64","ppc64"],
+    "supported_arches":["x86_64", "s390x"],
+    "supported_repo_breeds":["yum"],
+    "kernel_file":"linux[64.gz]?",
+    "initrd_file":"initrd[64]?",
+    "isolinux_ok":false,
+    "default_kickstart":"/var/lib/cobbler/kickstarts/sample_autoyast.xml",
+    "kernel_options":"install=$tree",
+    "kernel_options_post":"",
+    "boot_files":[]
+   },
+   "sles12generic": {
+    "signatures":["suse"],
+    "version_file":"(sles|SLES-for-VMware)-release-12(.*).rpm",
+    "version_file_regex":null,
+    "kernel_arch":"kernel-(.*)\\.rpm",
+    "kernel_arch_regex":null,
+    "supported_arches":["x86_64", "s390x"],
     "supported_repo_breeds":["yum"],
     "kernel_file":"linux[64.gz]?",
     "initrd_file":"initrd[64]?",
openSUSE Build Service is sponsored by