Add in support for mirroring centos-stream to the RDU-CC mirror. This will allow CBS and CI to use Stream-9 better
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
This commit is contained in:
parent
f79e5d1b43
commit
16bf2c0a4e
2 changed files with 16 additions and 0 deletions
|
@ -41,6 +41,10 @@ if [[ $? -ne 0 ]]; then
|
||||||
echo "Unable to finish sync to CentOS-altarch"
|
echo "Unable to finish sync to CentOS-altarch"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
${RSYNC} ${RS_OPT} ${RS_DEADLY} rsync.stream.centos.org::CentOS-Stream-All/ /srv/pub/centos-stream/ | tail -n2 | logger -p local0.notice -t rsync_centos_stream
|
||||||
|
if [[ $? -ne 0 ]]; then
|
||||||
|
echo "Unable to finish sync to CentOS-stream"
|
||||||
|
fi
|
||||||
|
|
||||||
# Let MM know I'm all up to date
|
# Let MM know I'm all up to date
|
||||||
#/usr/bin/report_mirror
|
#/usr/bin/report_mirror
|
||||||
|
|
|
@ -169,6 +169,18 @@ refuse options = checksum
|
||||||
comment = CentOS Mirror
|
comment = CentOS Mirror
|
||||||
path = /srv/pub/centos
|
path = /srv/pub/centos
|
||||||
list = no
|
list = no
|
||||||
|
|
||||||
|
# For RDU-CC usage
|
||||||
|
[centos-altarch]
|
||||||
|
comment = CentOS Mirror Altarch
|
||||||
|
path = /srv/pub/centos-altarch
|
||||||
|
list = no
|
||||||
|
|
||||||
|
# For RDU-CC usage
|
||||||
|
[centos-stream]
|
||||||
|
comment = CentOS Mirror Stream9
|
||||||
|
path = /srv/pub/centos-stream
|
||||||
|
list = no
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue