Skip to content

Commit

Permalink
Replace block in create_hdd_maintenance.xml.ep
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiasyria committed Apr 15, 2024
1 parent ceea971 commit 2c13bc2
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions data/yam/autoyast/support_images/create_hdd_maintenance.xml.ep
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,13 @@
%}
</suse_register>
<add-on>
<add_on_others config:type="list">
% for my $repo (@$repos) {
% my ($repo_id, $addon) = $repo =~ (/(\d+)\/(.*)\//);
<listentry>
<media_url><%= $repo %></media_url>
<name><%= $addon . "_" . $repo_id %></name>
<alias><%= $addon . "_" . $repo_id %></alias>
</listentry>
%}
</add_on_others>
<add_on_products config:type="list">
% for my $repo (@$repos) {
<listentry>
<media_url><%= $repo %></media_url>
</listentry>
% }
</add_on_products>
</add-on>
<bootloader>
<global>
Expand Down

0 comments on commit 2c13bc2

Please sign in to comment.