ibiblio can rsync down cc-rdu01 for centos
This commit is contained in:
parent
19e0a22da1
commit
95bb3249e6
2 changed files with 5 additions and 5 deletions
|
@ -12,12 +12,12 @@ EPL_EXCLUDES=""
|
|||
FED_EXCLUDES=""
|
||||
|
||||
# CentOS
|
||||
${RSYNC} ${RS_OPT} ${RS_DEADLY} master-1.centos.org::CentOS-community-cage/centos/ /srv/pub/centos/ | tail -n2 | logger -p local0.notice -t rsync_centos
|
||||
${RSYNC} ${RS_OPT} ${RS_DEADLY} download-cc-rdu01.fedoraproject.org::centos/ /srv/pub/centos/ | tail -n2 | logger -p local0.notice -t rsync_centos
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "Unable to finish sync to CentOS"
|
||||
fi
|
||||
# CentOS-altarch
|
||||
${RSYNC} ${RS_OPT} ${RS_DEADLY} master-1.centos.org::CentOS-community-cage/altarch/ /srv/pub/centos-altarch/ | tail -n2 | logger -p local0.notice -t rsync_centos_alt
|
||||
${RSYNC} ${RS_OPT} ${RS_DEADLY} download-cc-rdu01.fedoraproject.org::centos-altarch/ /srv/pub/centos-altarch/ | tail -n2 | logger -p local0.notice -t rsync_centos_alt
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "Unable to finish sync to CentOS-altarch"
|
||||
fi
|
||||
|
|
|
@ -168,19 +168,19 @@ refuse options = checksum
|
|||
[centos]
|
||||
comment = CentOS Mirror
|
||||
path = /srv/pub/centos
|
||||
list = no
|
||||
list = yes
|
||||
|
||||
# For RDU-CC usage
|
||||
[centos-altarch]
|
||||
comment = CentOS Mirror Altarch
|
||||
path = /srv/pub/centos-altarch
|
||||
list = no
|
||||
list = yes
|
||||
|
||||
# For RDU-CC usage
|
||||
[centos-stream]
|
||||
comment = CentOS Mirror Stream9
|
||||
path = /srv/pub/centos-stream
|
||||
list = no
|
||||
list = yes
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue