aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/snippets/kickstart_yum_repo_config
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/cobbler/snippets/kickstart_yum_repo_config')
-rw-r--r--deploy/adapters/cobbler/snippets/kickstart_yum_repo_config11
1 files changed, 11 insertions, 0 deletions
diff --git a/deploy/adapters/cobbler/snippets/kickstart_yum_repo_config b/deploy/adapters/cobbler/snippets/kickstart_yum_repo_config
new file mode 100644
index 00000000..9aae52ee
--- /dev/null
+++ b/deploy/adapters/cobbler/snippets/kickstart_yum_repo_config
@@ -0,0 +1,11 @@
+# Repository Config
+#set $repo_data = $getVar("repo_data",[])
+#for $repo in $repo_data
+#if $repo.mirror_locally
+repo --name=${repo.name} --baseurl=http://$http_server/cobbler/repo_mirror/${repo.name}/
+#else
+repo --name=${repo.name} --baseurl=${repo.mirror}
+#end if
+#end for
+
+