haerry+et(a)puzzle.ch wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
> I was wondering if there is a way of passing rsync options for cobbler
> reposync. I am particularly interested in the rsync's --bwlimit=KBPS
> option. I would like to limit the transfer rate to a minimun so that
> repository downloads should not impact our network.
>
> And if not possible, I have noticed that Cobbler generates commands such
> as rsync -avz <site>:/var/www/cobbler/repo_mirror /var/www/cobbler
> when performing a reposync. May someone please point me to where the
> -avz options are set?
>
cobbler calls reposync and afaik reposync doesn't support passing
additional rsync options to it and the -avz is hardcoded in the reposync
code.
I've considered adding --rsync-flags to 'cobbler repo add'.
(FYI -- if you were concerned about internal bandwith, "cobbler repo
edit --yum-opts" is what you'd want to use, though this does not apply
to mirroring, and especially not to rsync)
cheers Marcel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org
iEYEARECAAYFAklPbfMACgkQxqnHThA4pEm20gCg2r0fqet2DMgkhyUG/FmvHGXW
YLIAnA3Ndd6i70784RpTz8aS+CjcXHEe
=pU7c
-----END PGP SIGNATURE-----
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler