Commit 9f8b0041 authored by Clint Shryock's avatar Clint Shryock

builder/amazon-chroot: use source image virtualization type, unless specified

parent f374edc2
......@@ -88,6 +88,7 @@ func buildRegisterOpts(config *Config, image *ec2.Image, blockDevices []*ec2.Blo
Architecture: image.Architecture,
RootDeviceName: image.RootDeviceName,
BlockDeviceMappings: blockDevices,
VirtualizationType: image.VirtualizationType,
}
if config.AMIVirtType != "" {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment