1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-19 06:50:07 +03:00

B #1612: Can't instantiate VM w/ volatile image (#1721)

This commit is contained in:
Abel Coronado 2018-02-08 15:51:07 +01:00 committed by Tino Vázquez
parent a0e1b4e6e4
commit 3a77342a90

View File

@ -226,7 +226,9 @@ define(function(require){
var fields = WizardFields.retrieve(this);
if (disk["SIZE"] && fields["SIZE"] && disk["SIZE"] === fields["SIZE"]){
delete disk["SIZE"];
if (disk["IMAGE_ID"] || disk["IMAGE_NAME"]){
delete disk["SIZE"];
}
disks.push(disk);
}
else if (fields.SIZE != undefined){