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?

  Thanks in advance.

Attachment: smime.p7s
Description: Firma criptográfica S/MIME

_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to