From e552f118af2829897bbfdc17a24347d211090fe3 Mon Sep 17 00:00:00 2001 From: Alex Huang Date: Tue, 17 May 2011 12:36:53 -0700 Subject: [PATCH] propagated bf8afdbc7af3c0e9fbc90c841fedec57ac7b8cdf --- server/src/com/cloud/vm/VirtualMachineManagerImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/com/cloud/vm/VirtualMachineManagerImpl.java b/server/src/com/cloud/vm/VirtualMachineManagerImpl.java index fffaae028e5..5f114ae0b63 100755 --- a/server/src/com/cloud/vm/VirtualMachineManagerImpl.java +++ b/server/src/com/cloud/vm/VirtualMachineManagerImpl.java @@ -562,8 +562,8 @@ public class VirtualMachineManagerImpl implements VirtualMachineManager, Listene } @Override - public T advanceStart(T vm, Map params, User caller, Account account, DeploymentPlan planToDeploy) throws InsufficientCapacityException, - ConcurrentOperationException, ResourceUnavailableException { + public T advanceStart(T vm, Map params, User caller, Account account, DeploymentPlan planToDeploy) + throws InsufficientCapacityException, ConcurrentOperationException, ResourceUnavailableException { long vmId = vm.getId(); VirtualMachineGuru vmGuru; if (vm.getHypervisorType() == HypervisorType.BareMetal) { @@ -672,10 +672,10 @@ public class VirtualMachineManagerImpl implements VirtualMachineManager, Listene } try { + _networkMgr.prepare(vmProfile, dest, ctx); if (vm.getHypervisorType() != HypervisorType.BareMetal) { _storageMgr.prepare(vmProfile, dest); } - _networkMgr.prepare(vmProfile, dest, ctx); vmGuru.finalizeVirtualMachineProfile(vmProfile, dest, ctx);