diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-05-08 16:57:33 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-05-08 16:57:33 -0400 |
commit | 6ae4029a0c0021cb9151cb5a22a68c4b72ecf8cc (patch) | |
tree | c519530c40fa956677b44959205708939ad5221e /webui_templates/repo_edit.tmpl | |
parent | 7ee964ea8bc64284409c7ac053eb0c12b449aed6 (diff) | |
download | third_party-cobbler-6ae4029a0c0021cb9151cb5a22a68c4b72ecf8cc.tar.gz third_party-cobbler-6ae4029a0c0021cb9151cb5a22a68c4b72ecf8cc.tar.xz third_party-cobbler-6ae4029a0c0021cb9151cb5a22a68c4b72ecf8cc.zip |
Added --mirror-locally option to repo add/edit and WebUI for specifying that a cobbler
repo object is to be used directly, rather than mirrored into /var/www/cobbler by reposync/rsync.
This can be usable when network connectivity outside is certain, and there are no performance or bandwidth needs on a local mirror. This supports http:// and ftp:// only, rsync:// is not natively understood by yum.
Diffstat (limited to 'webui_templates/repo_edit.tmpl')
-rw-r--r-- | webui_templates/repo_edit.tmpl | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/webui_templates/repo_edit.tmpl b/webui_templates/repo_edit.tmpl index 30d516d..c259a13 100644 --- a/webui_templates/repo_edit.tmpl +++ b/webui_templates/repo_edit.tmpl @@ -90,10 +90,24 @@ function disablename(value) checked="true" #end if /> - <p class="context-tip">Disable to prevent the mirror from being updated.</p> + <p class="context-tip">Uncheck to prevent the mirror from being updated again.</p> </td> </tr> + <br/> + <tr> + <td> + <label for="keep_updated">Mirror Locally</label> + </td> + <td> + <input type="checkbox" name="mirror_locally" id="mirror_locally" + #if (not $repo) or $repo.mirror_locally + checked="true" + #end if + /> + <p class="context-tip">Uncheck to reference the repository directly instead of mirroring.</p> + </td> + </tr> <br/> <tr> @@ -130,7 +144,7 @@ function disablename(value) <tr> <td> - <label for="createrepo_flags">createrepo flags</label> + <label for="createrepo_flags">Createrepo flags</label> </td> <td> <input type="text" size="255" style="width: 150px;" name="creatrepoflags" id="createrepoflags" @@ -144,7 +158,7 @@ function disablename(value) <tr> <td> - <label for="arch">arch</label> + <label for="arch">Arch</label> </td> <td> <input type="text" size="255" style="width: 150px;" name="arch" id="arch" @@ -158,7 +172,7 @@ function disablename(value) <tr> <td> - <label for="yumopts">yum options</label> + <label for="yumopts">Yum options</label> </td> <td> <input type="text" size="255" style="width: 150px;" name="yumopts" id="yumopts" @@ -219,11 +233,9 @@ function disablename(value) <br/> <blockquote> -Note: Newly added repos contain no package content until -"cobbler reposync" is run from the command line, which means -that profiles relying on these repositories will not install. -Placing "cobbler reposync" on a crontab to ensure frequent -updates is recommended procedure. +Note: Newly added repo definitions will not be usable until +"cobbler reposync" is run from the command line on this system. +Placing "cobbler reposync" on a crontab is recommended procedure. </blockquote> <br/> |