added support for package manager repo mirror with apt-get and yum