Last active
October 13, 2016 18:05
-
-
Save trlinkin/c085197f2c4bdd2848619aeb17530fcb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yumrepo { 'updates': | |
| ensure => 'present', | |
| descr => 'CentOS-$releasever - Updates', | |
| enabled => '1', | |
| gpgcheck => '1', | |
| gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7', | |
| mirrorlist => 'http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra', | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [updates] | |
| name=CentOS-$releasever - Updates | |
| mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra | |
| #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ | |
| gpgcheck=1 | |
| gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 | |
| #additional packages that may be useful | |
| enabled=1 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Copy the update.repo content to:
/etc/yum.repos.d/update.repo