1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #5480: Can't change vCenter credentials (#535)

This commit is contained in:
Abel Coronado 2017-10-19 12:24:04 +02:00 committed by Tino Vázquez
parent 948236179c
commit 9e08508d8b

View File

@ -113,7 +113,12 @@ define(function(require) {
var strippedTemplate = {};
var strippedTemplateVcenter = {};
$.each(this.element.TEMPLATE, function(key, value) {
if (key.match(/^VCENTER_*/)){
if (!key.match(/^VCENTER_HOST$/) &&
!key.match(/^VCENTER_USER$/) &&
!key.match(/^VCENTER_PASSWORD$/) &&
!key.match(/^VCENTER_DS_IMAGE_DIR$/) &&
!key.match(/^VCENTER_DS_VOLATILE_DIR$/) &&
key.match(/^VCENTER_*/)){
strippedTemplateVcenter[key] = value;
}
else {