From 3f630ebe0870a0e9d88c5e95bfe1c41bd0bb35d8 Mon Sep 17 00:00:00 2001 From: frank Date: Fri, 28 Oct 2011 14:29:38 -0700 Subject: [PATCH] add upgrade path from 2.2.x to 2.2.13 for baremetal --- setup/db/db/schema-2212to2213.sql | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup/db/db/schema-2212to2213.sql b/setup/db/db/schema-2212to2213.sql index 6ee0cd109df..cc9eb8fdd5d 100644 --- a/setup/db/db/schema-2212to2213.sql +++ b/setup/db/db/schema-2212to2213.sql @@ -53,5 +53,11 @@ UPDATE guest_os_hypervisor SET guest_os_name='Red Hat Enterprise Linux 4.6(32-bi UPDATE guest_os_hypervisor SET guest_os_name='Red Hat Enterprise Linux 4.7(32-bit)' WHERE hypervisor_type='VmWare' AND guest_os_id=28; UPDATE guest_os_hypervisor SET guest_os_name='Red Hat Enterprise Linux 4.8(32-bit)' WHERE hypervisor_type='VmWare' AND guest_os_id=29; +update host_details set name='cpuspeed' where host_id in (select id from host where hypervisor_type='BareMetal') and name='cpuCapacity'; +update host_details set name='cpunumber' where host_id in (select id from host where hypervisor_type='BareMetal') and name='cpuNum'; +update host_details set name='hostmac' where host_id in (select id from host where hypervisor_type='BareMetal') and name='mac'; +update host_details set name='memory' where host_id in (select id from host where hypervisor_type='BareMetal') and name='memCapacity'; +update host_details set name='privateip' where host_id in (select id from host where hypervisor_type='BareMetal') and name='agentIp'; + INSERT IGNORE INTO configuration VALUES ('Advanced', 'DEFAULT', 'management-server', 'vmware.root.disk.controller', 'ide', 'Specify the default disk controller for root volumes, valid values are scsi, ide');