Implemented providing ami_launch_index to the new Instance's constructor.
This commit is contained in:
parent
22288ef83b
commit
ca5a8033e5
@ -720,6 +720,7 @@ class InstanceBackend(object):
|
|||||||
instance_tags = tags.get('instance', {})
|
instance_tags = tags.get('instance', {})
|
||||||
|
|
||||||
for index in range(count):
|
for index in range(count):
|
||||||
|
kwargs["ami_launch_index"] = index
|
||||||
new_instance = Instance(
|
new_instance = Instance(
|
||||||
self,
|
self,
|
||||||
image_id,
|
image_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user