mirror of https://github.com/apache/cloudstack.git
Let system VM still use the old naming convention for host names
This commit is contained in:
parent
f0e048a968
commit
0f333a5124
|
|
@ -72,7 +72,7 @@ public class ConsoleProxyVO extends VMInstanceVO implements ConsoleProxy {
|
|||
*/
|
||||
public ConsoleProxyVO(long id, long serviceOfferingId, String name, long templateId, HypervisorType hypervisorType, long guestOSId, long dataCenterId, long domainId, long accountId,
|
||||
int activeSession, boolean haEnabled) {
|
||||
super(id, serviceOfferingId, null, name, Type.ConsoleProxy, templateId, hypervisorType, guestOSId, domainId, accountId, haEnabled);
|
||||
super(id, serviceOfferingId, name, name, Type.ConsoleProxy, templateId, hypervisorType, guestOSId, domainId, accountId, haEnabled);
|
||||
this.activeSession = activeSession;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ public class DomainRouterVO extends VMInstanceVO implements VirtualRouter {
|
|||
boolean isPriorityBumpUp,
|
||||
RedundantState redundantState,
|
||||
boolean haEnabled, boolean stopPending) {
|
||||
super(id, serviceOfferingId, null, name, Type.DomainRouter, templateId, hypervisorType, guestOSId, domainId, accountId, haEnabled);
|
||||
super(id, serviceOfferingId, name, name, Type.DomainRouter, templateId, hypervisorType, guestOSId, domainId, accountId, haEnabled);
|
||||
this.elementId = elementId;
|
||||
this.networkId = networkId;
|
||||
this.isRedundantRouter = isRedundantRouter;
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ public class SecondaryStorageVmVO extends VMInstanceVO implements SecondaryStora
|
|||
|
||||
public SecondaryStorageVmVO(long id, long serviceOfferingId, String name, long templateId, HypervisorType hypervisorType, long guestOSId, long dataCenterId, long domainId, long accountId,
|
||||
Role role, boolean haEnabled) {
|
||||
super(id, serviceOfferingId, null, name, Type.SecondaryStorageVm, templateId, hypervisorType, guestOSId, domainId, accountId, haEnabled);
|
||||
super(id, serviceOfferingId, name, name, Type.SecondaryStorageVm, templateId, hypervisorType, guestOSId, domainId, accountId, haEnabled);
|
||||
this.role = role;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue