mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[compute|aws] Respect extra register_image options when mocking.
This commit is contained in:
parent
0ed426b714
commit
f4ddd0eac5
1 changed files with 3 additions and 3 deletions
|
@ -73,10 +73,10 @@ module Fog
|
|||
'imageOwnerId' => self.data[:owner_id],
|
||||
'isPublic' => false,
|
||||
'productCodes' => [],
|
||||
'architecture' => 'i386',
|
||||
'architecture' => options['Architecture'] || 'i386',
|
||||
'imageType' => 'machine',
|
||||
'kernelId' => Fog::AWS::Mock.kernel_id,
|
||||
'ramdiskId' => Fog::AWS::Mock.ramdisk_id,
|
||||
'kernelId' => options['KernelId'] || Fog::AWS::Mock.kernel_id,
|
||||
'ramdiskId' => options['RamdiskId'] || Fog::AWS::Mock.ramdisk_id,
|
||||
'platform' => 'Linux',
|
||||
'stateReason' => {},
|
||||
'imageOwnerAlias' => self.data[:owner_id],
|
||||
|
|
Loading…
Reference in a new issue