On Mon, Sep 10, 2012 at 6:59 AM, Ubay Dorta Guerra <[email protected]> wrote:
> Hello,
>
>   I have fedora 17 with cobbler 2.2.3 and i want to setup a mirror of the
> Fedora "updates" tree. Is it possible to instruct cobbler to download the
> packages to a different path?
>
>
>   I am trying to use "createrepo-flags" option to change the download_path:
>
> [root@server1 ~]# cobbler repo add
> --mirror=http://download.fedoraproject.org/pub/fedora/linux/updates/17/x86_64/
> --name=f17-x86_64-updates
> --createrepo-flags="--download_path=/mnt/deploy/media/fedora/updates/17/x86_64"
>
>   But when i run reposync the download_path is reverted to the default
> location:
>
> [root@server1 ~]# cobbler reposync
> task started: 2012-09-10_122505_reposync
> task started (id=Reposync, time=Mon Sep 10 12:25:05 2012)
> hello, reposync
> run, reposync, run!
> creating:
> /var/www/cobbler/repo_mirror/f17-x86_64-updates/.origin/f17-x86_64-updates.repo
> running: /usr/bin/reposync -l -m -d
> --config=/var/www/cobbler/repo_mirror/f17-x86_64-updates/.origin/f17-x86_64-updates.repo
> --repoid=f17-x86_64-updates --download_path=/var/www/cobbler/repo_mirror -a
> x86_64
>
>   Am i doing something wrong?

This is not supported. If you do not want the repos to be located
under /var/www/cobbler, than make the /var/www/cobbler/repo_mirror
directory a link to where you do want them.
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to