Skip to content

Instantly share code, notes, and snippets.

@Filirom1
Created March 26, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Filirom1/94df6061f51e1b5c8425 to your computer and use it in GitHub Desktop.
Save Filirom1/94df6061f51e1b5c8425 to your computer and use it in GitHub Desktop.
reposync

Givena an elasticsearch repo, launch the command below to create a mirror

$ reposync --repoid elasticsearch-1.4 -p /path/to/mirror
[elasticsearch-1.4]
name=Elasticsearch repository for 1.4.x packages
baseurl=http://packages.elasticsearch.org/elasticsearch/1.4/centos
gpgcheck=1
gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
enabled=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment