lib/beaker-hostgenerator/hypervisor/abs.rb in beaker-hostgenerator-2.8.1 vs lib/beaker-hostgenerator/hypervisor/abs.rb in beaker-hostgenerator-2.8.2

- old
+ new

@@ -23,12 +23,12 @@ base_config = base_generate_node(node_info, base_config, bhg_version, :vmpooler, :abs) case node_info['ostype'] when /^(almalinux|centos|oracle|redhat|rocky|scientific)/ base_config['template'] ||= base_config['platform']&.gsub(/^el/, ::Regexp.last_match(1)) - when /^aix/, /^amazon/, /^fedora/, /^opensuse/, /^panos/ + when /^aix/, /^fedora/, /^opensuse/, /^panos/ base_config['template'] ||= base_config['platform'] - when /^(debian|ubuntu)/ + when /^(debian|ubuntu|amazon)/ os = Regexp.last_match(1) base_template = node_info['ostype'].sub(os, "#{os}-") arch = case node_info['bits'] when '64' 'x86_64'