Skip to content

Commit e552f11

Browse files
author
Alex Huang
committed
propagated bf8afdbc7af3c0e9fbc90c841fedec57ac7b8cdf
1 parent 1501503 commit e552f11

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎server/src/com/cloud/vm/VirtualMachineManagerImpl.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,8 @@ public <T extends VMInstanceVO> T advanceStart(T vm, Map<VirtualMachineProfile.P
562562
}
563563

564564
@Override
565-
public <T extends VMInstanceVO> T advanceStart(T vm, Map<VirtualMachineProfile.Param, Object> params, User caller, Account account, DeploymentPlan planToDeploy) throws InsufficientCapacityException,
566-
ConcurrentOperationException, ResourceUnavailableException {
565+
public <T extends VMInstanceVO> T advanceStart(T vm, Map<VirtualMachineProfile.Param, Object> params, User caller, Account account, DeploymentPlan planToDeploy)
566+
throws InsufficientCapacityException, ConcurrentOperationException, ResourceUnavailableException {
567567
long vmId = vm.getId();
568568
VirtualMachineGuru<T> vmGuru;
569569
if (vm.getHypervisorType() == HypervisorType.BareMetal) {
@@ -672,10 +672,10 @@ public <T extends VMInstanceVO> T advanceStart(T vm, Map<VirtualMachineProfile.P
672672
}
673673

674674
try {
675+
_networkMgr.prepare(vmProfile, dest, ctx);
675676
if (vm.getHypervisorType() != HypervisorType.BareMetal) {
676677
_storageMgr.prepare(vmProfile, dest);
677678
}
678-
_networkMgr.prepare(vmProfile, dest, ctx);
679679

680680
vmGuru.finalizeVirtualMachineProfile(vmProfile, dest, ctx);
681681

0 commit comments

Comments
 (0)