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 ...@@ -88,6 +88,7 @@ func buildRegisterOpts(config *Config, image *ec2.Image, blockDevices []*ec2.Blo
Architecture: image.Architecture, Architecture: image.Architecture,
RootDeviceName: image.RootDeviceName, RootDeviceName: image.RootDeviceName,
BlockDeviceMappings: blockDevices, BlockDeviceMappings: blockDevices,
VirtualizationType: image.VirtualizationType,
} }
if config.AMIVirtType != "" { 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