1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00

Include ImageID for instances deployed through EC2

This commit is contained in:
Daniel Molina 2015-11-20 12:20:30 +01:00
parent 9c27ab6c12
commit f952691521

View File

@ -182,7 +182,7 @@ module Instance
merge_info = {}
merge_info["DISK"] = []
merge_info["DISK"] << {"IMAGE_ID" => img.to_i}
merge_info["IMAGE_ID"] = params['ImageId']
template.each("TEMPLATE/DISK") { |e|
merge_info["DISK"] << e.to_hash["DISK"]