diff --git a/lib/beaker-hostgenerator/data.rb b/lib/beaker-hostgenerator/data.rb index 60538fa8..a96c670b 100644 --- a/lib/beaker-hostgenerator/data.rb +++ b/lib/beaker-hostgenerator/data.rb @@ -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'] diff --git a/lib/beaker-hostgenerator/hypervisor/docker.rb b/lib/beaker-hostgenerator/hypervisor/docker.rb index f6a150fb..5f180b56 100644 --- a/lib/beaker-hostgenerator/hypervisor/docker.rb +++ b/lib/beaker-hostgenerator/hypervisor/docker.rb @@ -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),