HEX
Server: nginx/1.22.0
System: Linux iZuf6jdxbygmf6cco977lcZ 5.10.84-10.4.al8.x86_64 #1 SMP Tue Apr 12 12:31:07 CST 2022 x86_64
User: root (0)
PHP: 7.4.29
Disabled: passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_restore,dl,readlink,symlink,popepassthru,stream_socket_server,fsocket,popen
Upload Files
File: //etc/cloud/templates/sources.list.aliyun.epel.tmpl
## template:jinja
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) do the same in user-data
## b.) add sources in /etc/yum.repos.d/
## c.) make changes to template file /etc/cloud/templates/sources.list.aliyun.epel.tmpl
###

{% if major_version in ["2"] %}
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl={{mirror}}/epel/7/$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey={{mirror}}/epel/RPM-GPG-KEY-EPEL-7

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
baseurl={{mirror}}/epel/7/$basearch/debug
failovermethod=priority
enabled=0
gpgkey={{mirror}}/epel/RPM-GPG-KEY-EPEL-7
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
baseurl={{mirror}}/epel/7/SRPMS
failovermethod=priority
enabled=0
gpgkey={{mirror}}/epel/RPM-GPG-KEY-EPEL-7
gpgcheck=1

{% elif major_version in ["3"] %}
[epel]
name=Extra Packages for Enterprise Linux 8 - $basearch
baseurl=http://mirrors.cloud.aliyuncs.com/epel/8/Everything/$basearch
failovermethod=priority
enabled=1
gpgcheck=0

{% endif %}