Skip to content

Commit

Permalink
Merge pull request #7205 from gurevichmark/copycds_SLES15_media2
Browse files Browse the repository at this point in the history
Improve SLES15 copycds for Media2 iso
  • Loading branch information
besawn committed Jun 28, 2022
2 parents 3a301a1 + ae5dea3 commit 1bed5e0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions xCAT-server/lib/xcat/plugins/sles.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1770,6 +1770,15 @@ sub copycd
$distname = "sle15";
}
};
} elsif ($dsc =~ /SLE-15/ and $dsc =~ /SOURCE/) {
$discnumber = 2;
unless ($distname) {
if ($dsc =~ /SLE-15-SP(\d)/) {
$distname = "sle15.$1";
} else {
$distname = "sle15";
}
};
} elsif ($dsc =~ /SLE-15/ and $dsc =~ /Full/) {
$discnumber = 1;
$linktwo = 1;
Expand Down

0 comments on commit 1bed5e0

Please sign in to comment.