I maintain a local repository for all the installation packages. I'm attempting to use reposync (the first time, I generally use rsync to mirror what I need) and I'm getting some odd behavior. Any repos I have enabled system wide at /etc/yum.repos.d/MYREPO.conf are being pulled in to the list of directories to sync.
./reposync -n -c vmware-tools.cfg -p tmp -u
I really don't want to provide a list of repos to include - I'd like to simply add the necessary lines to the above file and have it work.
The contents of vmware-tools.cfg.
[6-i386]
name=VMware Tools 6 x32
baseurl=http://packages.vmware.com/tools/esx/latest/rhel6/i386
enabled=1
gpgcheck=1
[6-x86_64]
name=VMware Tools 6 x64
baseurl=http://packages.vmware.com/tools/esx/latest/rhel6/x86_64
enabled=1
gpgcheck=1
[5-i386]
name=VMware Tools 5 x32
baseurl=http://packages.vmware.com/tools/esx/latest/rhel5/i386
enabled=1
gpgcheck=1
[5-x86_64]
name=VMware Tools 5 x64
baseurl=http://packages.vmware.com/tools/esx/latest/rhel5/x86_64
enabled=1
gpgcheck=1
How do I correct this behavior and / or sync these files in a better fashion?
reposyncis downloading everything in/etc/yum.repos.d/instead of just what's invmware-tools.cfg? – mgorven May 13 '12 at 5:04