cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kelv...@apache.org
Subject [09/27] git commit: updated refs/heads/master to ae23144
Date Wed, 04 Sep 2013 22:42:18 GMT
CLOUDSTACK-3869: change default snapshot directory to VM folder


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/36d8a563
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/36d8a563
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/36d8a563

Branch: refs/heads/master
Commit: 36d8a5631d126ee79bbd2bd1fa618f5091ee74b3
Parents: 40869a5
Author: Kelven Yang <kelveny@gmail.com>
Authored: Wed Aug 7 16:46:36 2013 -0700
Committer: Kelven Yang <kelveny@gmail.com>
Committed: Wed Sep 4 14:49:45 2013 -0700

----------------------------------------------------------------------
 .../hypervisor/vmware/mo/HypervisorHostHelper.java      | 12 ------------
 1 file changed, 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/36d8a563/vmware-base/src/com/cloud/hypervisor/vmware/mo/HypervisorHostHelper.java
----------------------------------------------------------------------
diff --git a/vmware-base/src/com/cloud/hypervisor/vmware/mo/HypervisorHostHelper.java b/vmware-base/src/com/cloud/hypervisor/vmware/mo/HypervisorHostHelper.java
index 2a44fce..2aef7c3 100755
--- a/vmware-base/src/com/cloud/hypervisor/vmware/mo/HypervisorHostHelper.java
+++ b/vmware-base/src/com/cloud/hypervisor/vmware/mo/HypervisorHostHelper.java
@@ -1172,18 +1172,6 @@ public class HypervisorHostHelper {
                 Thread.sleep(1000);
             }
 
-            if(snapshotDirToParent) {
-                String snapshotDir = String.format("/vmfs/volumes/%s/", dsMo.getName());
-
-                s_logger.info("Switch snapshot working directory to " + snapshotDir + " for
" + vmName);
-                vmMo.setSnapshotDirectory(snapshotDir);
-
-                // Don't have a good way to test if the VM is really ready for use through
normal API after configuration file manipulation,
-                // delay 3 seconds
-                Thread.sleep(3000);
-            }
-
-            s_logger.info("Blank VM: " + vmName + " is ready for use");
             return true;
         }
         return false;


Mime
View raw message