builder/amazon-chroot: use source image virtualization type, unless specified
This commit is contained in:
parent
f374edc2b8
commit
9f8b0041f0
@ -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 != "" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user