Skip to content

Commit

Permalink
Implement OracleLinux 7-9 64bit support
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Aug 8, 2023
1 parent b404e5c commit 9b4d7ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions lib/beaker-hostgenerator/data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1090,6 +1090,11 @@ def generate_osinfo
yield ["oracle#{release}-64", "el-#{release}-x86_64"]
end

# OracleLinux
(7..9).each do |release|
yield ["oracle#{release}-64", "el-#{release}-x86_64"]
end

# Scientific Linux
yield ['scientific7-64', 'el-7-x86_64']

Expand Down
2 changes: 1 addition & 1 deletion lib/beaker-hostgenerator/hypervisor/docker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def image(ostype)

def image_commands(ostype)
case ostype
when /^(almalinux|centos|rocky)/
when /^(almalinux|centos|rocky|oracle)/
[
'cp /bin/true /sbin/agetty',
el_package_install_command(ostype.delete_prefix(Regexp.last_match(1)).to_i),
Expand Down

0 comments on commit 9b4d7ac

Please sign in to comment.