Skip to content

Commit 8104a37

Browse files
committed
Enable migration from 15SP6
1 parent 659d0de commit 8104a37

24 files changed

+55
-1331
lines changed

data/yam/autoyast/ha.xml

Lines changed: 0 additions & 107 deletions
This file was deleted.

data/yam/autoyast/ha.xml.ep

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,27 @@
2222
<version>{{VERSION}}</version>
2323
<arch>{{ARCH}}</arch>
2424
</addon>
25-
% if ($check_var->('VERSION', '15-SP7') or $check_var->('VERSION', '15-SP6')) {
25+
% if ( $get_var->('VERSION') =~ /15-SP[6-7]/ ) {
2626
<addon>
2727
<name>sle-module-systems-management</name>
2828
<version>{{VERSION}}</version>
2929
<arch>{{ARCH}}</arch>
3030
</addon>
3131
% }
32-
<addon>
33-
<name>sle-ha</name>
34-
<reg_code>{{SCC_REGCODE_HA}}</reg_code>
35-
<version>{{VERSION}}</version>
36-
<arch>{{ARCH}}</arch>
37-
</addon>
38-
% if ($check_var->('VERSION', '15-SP4') or $check_var->('VERSION', '15-SP5') or $check_var->('VERSION', '15-SP6')) {
32+
% if ( $get_var->('VERSION') =~ /15-SP[4-6]/ ) {
3933
<addon>
4034
<arch>{{ARCH}}</arch>
4135
<name>SLES-LTSS</name>
4236
<version>{{VERSION}}</version>
4337
<reg_code>{{SCC_REGCODE_LTSS}}</reg_code>
4438
</addon>
4539
% }
40+
<addon>
41+
<name>sle-ha</name>
42+
<reg_code>{{SCC_REGCODE_HA}}</reg_code>
43+
<version>{{VERSION}}</version>
44+
<arch>{{ARCH}}</arch>
45+
</addon>
4646
</addons>
4747
</suse_register>
4848
<general>

data/yam/autoyast/ha_s390x.xml

Lines changed: 0 additions & 131 deletions
This file was deleted.

data/yam/autoyast/ha_s390x.xml.ep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
<version>{{VERSION}}</version>
2323
<arch>{{ARCH}}</arch>
2424
</addon>
25-
% if ($check_var->('VERSION', '15-SP7') or $check_var->('VERSION', '15-SP6')) {
25+
% if ( $get_var->('VERSION') =~ /15-SP[6-7]/ ) {
2626
<addon>
2727
<name>sle-module-systems-management</name>
2828
<version>{{VERSION}}</version>
2929
<arch>{{ARCH}}</arch>
3030
</addon>
3131
% }
32-
% if ($check_var->('VERSION', '15-SP4') or $check_var->('VERSION', '15-SP5') or $check_var->('VERSION', '15-SP6')) {
32+
% if ( $get_var->('VERSION') =~ /15-SP[4-6]/ ) {
3333
<addon>
3434
<arch>{{ARCH}}</arch>
3535
<name>SLES-LTSS</name>

data/yam/autoyast/sles_sap_migration.xml.ep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
</software>
7878
<suse_register t="map">
7979
<addons t="list">
80-
% if ($check_var->('VERSION', '15-SP6') or $check_var->('VERSION', '15-SP7')) {
80+
% if ( $get_var->('VERSION') =~ /15-SP[6-7]/ ) {
8181
<addon t="map">
8282
<arch>{{ARCH}}</arch>
8383
<name>sle-module-systems-management</name>

0 commit comments

Comments
 (0)