Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- cd /var/www/html/repos
- reposync -n -r base
- reposync -n -r updates
- reposync -n -r extras
- reposync -n -r salt-latest
- reposync -n -r dockerrepo
- reposync -n -r epel
- reposync -n -r icinga-stable-release
- # update repos for base,updates,extras and epel
- createrepo --update /var/www/html/repos/base
- createrepo --update /var/www/html/repos/updates
- createrepo --update /var/www/html/repos/extras
- createrepo --update /var/www/html/repos/epel
- createrepo --update /var/www/html/repos/salt-latest
- createrepo --update /var/www/html/repos/dockerrepo
- createrepo --update /var/www/html/repos/icinga-stable-release
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement