Implemented providing ami_launch_index to the new Instance's constructor.
This commit is contained in:
parent
22288ef83b
commit
ca5a8033e5
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue