there is a minor error in instantiating vm from a template.
How to reproduce:
make sure there are more than one images in different size.
create a template using one of the images.
then update the template and in storage without deleting the existing disk just click on the other one, see it changes and save. Then go to instantiation. On the main screen it shows the first image’s size and when you click on the instantiate it gives error about sizeand wont proceed.
when updating first delete the existing disk and add another one. then instantiate