From 3d34a136a6b7d0a36838069d2fe29d59e1df9798 Mon Sep 17 00:00:00 2001 From: Alena Prokharchyk Date: Tue, 29 Jul 2014 11:15:24 -0700 Subject: [PATCH] CLOUDSTACK-6168: fixed the description for global config "vm.instancename.flag" - the flag is applicable for VMware hypervisor only --- server/src/com/cloud/configuration/Config.java | 2 +- setup/db/db/schema-441to450.sql | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/server/src/com/cloud/configuration/Config.java b/server/src/com/cloud/configuration/Config.java index fbcb1f42ea6..1fa3164f370 100755 --- a/server/src/com/cloud/configuration/Config.java +++ b/server/src/com/cloud/configuration/Config.java @@ -1062,7 +1062,7 @@ public enum Config { Boolean.class, "vm.instancename.flag", "false", - "If set to true, will set guest VM's name as it appears on the hypervisor, to its hostname", + "If set to true, will set guest VM's name as it appears on the hypervisor, to its hostname. The flag is supported for VMware hypervisor only", "true,false"), IncorrectLoginAttemptsAllowed( "Advanced", diff --git a/setup/db/db/schema-441to450.sql b/setup/db/db/schema-441to450.sql index b8a829a532d..3f78c1f044c 100644 --- a/setup/db/db/schema-441to450.sql +++ b/setup/db/db/schema-441to450.sql @@ -429,3 +429,6 @@ CREATE VIEW `cloud`.`template_view` AS `cloud`.`resource_tags` ON resource_tags.resource_id = vm_template.id and (resource_tags.resource_type = 'Template' or resource_tags.resource_type='ISO'); + + +UPDATE `cloud`.`configuration` SET description="If set to true, will set guest VM's name as it appears on the hypervisor, to its hostname. The flag is supported for VMware hypervisor only" WHERE name='vm.instancename.flag';