aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/snippets/repo_config.xml
blob: dbdd5d25b1f307992a305db927770e30647236ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Repository Config
#set $repo_data = $getVar("repo_data",[])
#for $repo in $repo_data
<listentry>
    #if $repo.mirror_locally
  <media_url>http://$http_server/cobbler/repo_mirror/${repo.name}</media_url>
    #else
  <media_url>${repo.mirror}</media_url>
    #end if
  <product>${repo.name}</product>
  <product_dir>/</product_dir>
  <ask_on_error config:type="boolean">false</ask_on_error>
  <name>${repo.name}</name>
</listentry>
#end for