Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

Commit

Permalink
Disable OEL7's mysql boot media repo (#311)
Browse files Browse the repository at this point in the history
Installation media for OEL7.2 includes out of date mysql packages in
`addons/Mysql`.  This repo is automatically enabled during kickstart
installation, and `mysql-communitity-libs` gets installed as a
dependency of `postfix`. `mysql-communitity-libs` is not updated during
a `yum update` as it doesn't exist in
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/index.html
and
http://public-yum.oracle.com/repo/OracleLinux/OL7/MySQL56/x86_64/index.html
is not configured in `/etc/yum.repos.d`.

This commit disables this problematic boot media repository.  As
`mysql-communitity-libs` is no longer available to the installer,
`mariadb-libs` get installed instead to satisfy `postfix`.

This doesn't prevent users from later choosing to install mysql by
enabling one of the `mysql` repos from
http://public-yum.oracle.com/oracle-linux-7.html and doing a `yum
install mysql`
  • Loading branch information
alexjfisher authored and mmoll committed Nov 11, 2016
1 parent 4d62c9b commit 9ec2d99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kickstart/provision.erb
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ repo --name=puppetlabs-pc1 --baseurl=http://yum.puppetlabs.com/el/<%= @host.oper
<% end -%>
<% end -%>
<% if @host.operatingsystem.name == 'OracleLinux' && os_major == 7 -%>
repo --name="Server-Mysql"
<% end -%>
<% if @host.operatingsystem.name == 'Fedora' and os_major <= 16 -%>
# Bootloader exception for Fedora 16:
bootloader --append="<%= @host.params['bootloader-append'] || 'nofb quiet splash=quiet' %> <%=ks_console%>" <%= grub_pass %>
Expand Down

0 comments on commit 9ec2d99

Please sign in to comment.