mirror of https://github.com/apache/cloudstack.git
bug 11403: Making hypervisor_type of xs-tools.iso (id=200) as XenServer. Made the corresponding DB changes as well.
This commit is contained in:
parent
41926cb038
commit
cbe996e1ce
|
|
@ -489,7 +489,7 @@ public class XcpServerDiscoverer extends DiscovererBase implements Discoverer, L
|
|||
id = _tmpltDao.getNextInSequence(Long.class, "id");
|
||||
VMTemplateVO template = new VMTemplateVO(id, isoName, isoName, ImageFormat.ISO, true, true,
|
||||
TemplateType.PERHOST, null, null, true, 64,
|
||||
Account.ACCOUNT_ID_SYSTEM, null, "xen-pv-drv-iso", false, 1, false, HypervisorType.Xen);
|
||||
Account.ACCOUNT_ID_SYSTEM, null, "xen-pv-drv-iso", false, 1, false, HypervisorType.XenServer);
|
||||
_tmpltDao.persist(template);
|
||||
} else {
|
||||
id = tmplt.getId();
|
||||
|
|
|
|||
|
|
@ -15,3 +15,5 @@ ALTER TABLE `cloud`.`user_vm_details` ADD CONSTRAINT `fk_user_vm_details__vm_id`
|
|||
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue