Actions
Bug #30117
closedIterate through all installation media/repos in provisioning templates
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Description
Hi there,
depend on issue #27183 we whould use the following syntax since 2.X.X
<% @host.os.media.each do |media| -%> repo --name=<%= media.name %> --baseurl=<%= @host.medium_uri(media.path) %> <% end -%>
but this produces not the correct output.
i get e.g. the following output
url --url http://katello.example.com/pulp/repos/EWERK/Library/custom/base/7_7_1908_os_x86_64/ repo --name=epel --baseurl=http://katello.example.com/pulp/repos/EWERK/Library/custom/base/7_7_1908_os_x86_64//http://katello.example.com/pulp/repos/EWERK/Library/custom/epel/epel_7_x86_64/
i added one epel to the operating system. i get the double url. "url" and "repo" share the same part of the base url. this should not be okay i think or im not correct?
i should get only and not the base url mixed.
repo --name=epel --baseurl=http://katello.example.com/pulp/repos/EWERK/Library/custom/epel/epel_7_x86_64/
is this a bug?
Cheers
Sven
Files
Actions