Project

General

Profile

Actions

Feature #2837

closed

add an interface to add repositories to kickstart

Added by Amos Benari almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I would like to have an interface to add repositories in a kickstart file where I could use a code snippet like:

<% @repos.each do |repo| >
repo --name=<
= repo[:name] > --baseurl=<= repo[:baseurl] >
<
end %>

The variable @repo would be an array of hashes, each describing a repository.
For example, to describe a yum repo, the following structure can be
returned:
[{ :baseurl => "https://dl.thesource.com/get/it/here",
:name => "awesome",
:description => "awesome product repo"",
:enabled => 1,
:gpgcheck => 1
}]

Actions

Also available in: Atom PDF