Laszlo Hornyak has uploaded a new change for review.

Change subject: engine: increase blank template memory size
......................................................................

engine: increase blank template memory size

Installation of any linux box today requires 1 GB of RAM, setting the
memory of the default template could improve user experience by bumping
into less problem when doing this.

Change-Id: If74889c0165a66fb76fc5081fefdb66cd4df9e83
Signed-off-by: Laszlo Hornyak <[email protected]>
---
M backend/manager/dbscripts/insert_data.sql
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/47/14747/1

diff --git a/backend/manager/dbscripts/insert_data.sql 
b/backend/manager/dbscripts/insert_data.sql
index 088ee17..2fbc008 100644
--- a/backend/manager/dbscripts/insert_data.sql
+++ b/backend/manager/dbscripts/insert_data.sql
@@ -25,7 +25,7 @@
 insert into network (id,name,description,storage_pool_id) select v_id_0009, 
'engine', 'Management Network', v_storage_pool_id where not exists (select * 
from network);
 insert into network_cluster (network_id, cluster_id, status) select 
v_id_0009,v_cluster_id,1 where not exists (select * from network_cluster);
 insert into image_templates 
(it_guid,os,os_version,creation_date,size,description,bootable) select 
v_id_0000,'-','-','2008/04/01 00:00:00',85899345920,'Blanc Image 
Template',false where not exists (select it_guid from image_templates where 
it_guid = v_id_0000);
-insert into vm_templates 
(vmt_guid,name,mem_size_mb,os,creation_date,child_count,num_of_sockets,cpu_per_socket,description,vds_group_id,domain,num_of_monitors,status)
 select v_id_0000,'Blank' ,512,0,'2008/04/01 00:00:00',0,1,1,'Blank 
template',v_cluster_id,'',1,0 where not exists (select vmt_guid from 
vm_templates where vmt_guid = v_id_0000);
+insert into vm_templates 
(vmt_guid,name,mem_size_mb,os,creation_date,child_count,num_of_sockets,cpu_per_socket,description,vds_group_id,domain,num_of_monitors,status)
 select v_id_0000,'Blank' ,1024,0,'2008/04/01 00:00:00',0,1,1,'Blank 
template',v_cluster_id,'',1,0 where not exists (select vmt_guid from 
vm_templates where vmt_guid = v_id_0000);
 insert into vm_template_image_map (it_guid,vmt_guid,internal_drive_mapping) 
select v_id_0000,v_id_0000,'1' where not exists (select * from 
vm_template_image_map where it_guid = v_id_0000  and vmt_guid = v_id_0000);
 
 delete from event_map;


--
To view, visit http://gerrit.ovirt.org/14747
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If74889c0165a66fb76fc5081fefdb66cd4df9e83
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Laszlo Hornyak <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to