From 7da10dc1585c0fb8fa0b76c588b6ae1356f433e8 Mon Sep 17 00:00:00 2001 From: anthony Date: Tue, 13 Sep 2011 11:07:01 -0700 Subject: [PATCH] bug 11403: use unique_name to do update --- setup/db/db/schema-2211to2212.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/db/db/schema-2211to2212.sql b/setup/db/db/schema-2211to2212.sql index da784ad83a4..75e5d4a688e 100644 --- a/setup/db/db/schema-2211to2212.sql +++ b/setup/db/db/schema-2211to2212.sql @@ -16,5 +16,5 @@ DELETE FROM `cloud`.`configuration` where name='vmware.guest.nic.device.type'; INSERT IGNORE INTO configuration VALUES ('Advanced', 'DEFAULT', 'management-server', 'agent.lb.enabled', 'true', 'If agent load balancing enabled in cluster setup'); -update `cloud`.`vm_template` set hypervisor_type='XenServer' where id=200; +update `cloud`.`vm_template` set hypervisor_type='XenServer' where unique_name='xs-tools.iso';