Skip to content

Commit

Permalink
Merge pull request #183 from elyezer/java-workaround
Browse files Browse the repository at this point in the history
Add workaround for Java on RHEL 6.6
  • Loading branch information
sthirugn committed May 13, 2015
2 parents 879772a + 6e557f7 commit 9be5177
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions automation_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,13 @@ def downstream_install(admin_password=None, run_katello_installer=True):
remote_path='/etc/yum.repos.d/satellite.repo')
satellite_repo.close()

info = distro_info()
if info == ('rhel', 6, 6):
# For default java-1.8.0-openjdk will be installed on RHEL 6.6 but it
# makes the katello-installer fail. Install java-1.7.0-openjdk which is
# the recommended version for RHEL 6.6.
run('yum install -y java-1.7.0-openjdk')

# Install required packages for the installation
run('yum install -y katello')

Expand Down

0 comments on commit 9be5177

Please sign in to comment.