yum-xen.conf

i need to create a custom yum-xen.conf file but i am not sure how to create base context

the mirror is
http://yum.freepbxdistro.org/centos/6.3/

and here is a sample yum-xen.conf file i found.  How can i modify it to match the mirror above?

[base]
name=CentOS-6.2 - Base
mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=x86_64&repo=os
#baseurl=http://mirror.centos.org/centos/6.2/os/x86_64/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
 
[updates]
name=CentOS-6.2 - Updates
mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=x86_64&repo=updates
#baseurl=http://mirror.centos.org/centos/6.2/updates/x86_64/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
 
[extras]
name=CentOS-6.2 - Extras
mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=x86_64&repo=extras
#baseurl=http://mirror.centos.org/centos/6.2/extras/x86_64/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-6
 
[centosplus]
name=CentOS-6.2 - Plus
mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=x86_64&repo=centosplus
#baseurl=http://mirror.centos.org/centos/6.2/centosplus/x86_64/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-6
 
[contrib]
name=CentOS-6.2 - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=x86_64&repo=contrib
#baseurl=http://mirror.centos.org/centos/6.2/contrib/x86_64/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-6
LVL 5
Kylo RenSystem EngineerAsked:
Who is Participating?
 
jlevieCommented:
In the example you found replace 6.2 with 6.3, comment out each mirrorlist line, uncomment each baseurl line and replace:

http://mirror.centos.org

with:

http://yum.freepbxdistro.org

in the baseurl and gpgkey lines
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.