diff --git a/lib/beaker-hostgenerator/hypervisor/vagrant.rb b/lib/beaker-hostgenerator/hypervisor/vagrant.rb index c8b5f999..0bf75317 100644 --- a/lib/beaker-hostgenerator/hypervisor/vagrant.rb +++ b/lib/beaker-hostgenerator/hypervisor/vagrant.rb @@ -10,6 +10,8 @@ class Vagrant < BeakerHostGenerator::Hypervisor::Interface def generate_node(node_info, base_config, bhg_version) base_config['box'] = if node_info['ostype'] =~ /^centos/ node_info['ostype'].sub(/(\d)/, '/\1') + elsif node_info['ostype'] =~ /^almalinux/ + node_info['ostype'].sub(/(\d)/, '/\1') elsif node_info['ostype'] =~ /^fedora/ node_info['ostype'].sub(/(\d)/, '/\1') + '-cloud-base' else