1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-13 12:58:17 +03:00

Deleted context image in storage for vCenter VM (#338)

This commit is contained in:
Abel Coronado 2017-06-13 13:13:42 +02:00 committed by Tino Vázquez
parent 83f2ecbcab
commit 174dc9cbf3

View File

@ -232,7 +232,7 @@ define(function(require) {
else if (!$.isEmptyObject(that.element.TEMPLATE.DISK))
disks = [that.element.TEMPLATE.DISK];
if (!$.isEmptyObject(that.element.TEMPLATE.CONTEXT)) {
if (!$.isEmptyObject(that.element.TEMPLATE.CONTEXT) && that.element.USER_TEMPLATE.HYPERVISOR != "vcenter") {
var context_disk = that.element.TEMPLATE.CONTEXT;
context_disk["IMAGE"] = Locale.tr("Context");