From ec7552cdbb14486a0ced9b7a16920f108d236aa4 Mon Sep 17 00:00:00 2001 From: David Ribeiro Alves Date: Thu, 15 Mar 2012 02:57:22 +0000 Subject: [PATCH] added waitForCompletion on snapshot creation and deletion has multi-node was failing --- .../java/org/jclouds/virtualbox/functions/NodeCreator.java | 4 +++- .../functions/TakeSnapshotIfNotAlreadyAttached.java | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/NodeCreator.java b/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/NodeCreator.java index 505d50d6e2..0366dd0134 100644 --- a/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/NodeCreator.java +++ b/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/NodeCreator.java @@ -47,6 +47,7 @@ import org.jclouds.virtualbox.statements.SetIpAddress; import org.jclouds.virtualbox.util.MachineUtils; import org.virtualbox_4_1.CleanupMode; import org.virtualbox_4_1.IMachine; +import org.virtualbox_4_1.IProgress; import org.virtualbox_4_1.ISession; import org.virtualbox_4_1.NetworkAttachmentType; import org.virtualbox_4_1.VirtualBoxManager; @@ -116,7 +117,8 @@ public class NodeCreator implements Function