Use 'open' if we have more VMs then asked for
@@ -226,10 +226,12 @@ class InfrastructureManagerClient
# ip:job:instance-id
instances_created = []
vm_info['public_ips'].each_index { |index|
+ tmp_jobs = jobs[index]
+ tmp_jobs = 'open' if jobs[index] == nil
instances_created << {
'public_ip' => vm_info['public_ips'][index],
'private_ip' => vm_info['private_ips'][index],
- 'jobs' => jobs[index],
+ 'jobs' => tmp_jobs,
'instance_id' => vm_info['instance_ids'][index],
'disk' => disks[index]
}
