lib/beaker-hostgenerator/hypervisor/abs.rb in beaker-hostgenerator-2.7.0 vs lib/beaker-hostgenerator/hypervisor/abs.rb in beaker-hostgenerator-2.8.0
- old
+ new
@@ -42,9 +42,11 @@
'power8'
else
raise "Unknown bits '#{node_info['bits']}' for '#{node_info['ostype']}'"
end
base_config['template'] ||= "#{base_template}-#{arch}"
+ when /^osx/
+ base_config['template'] ||= base_config['platform']&.gsub(/^osx/, 'macos')
end
base_config
end
end