Skip to content

Commit faf9640

Browse files
committed
CLOUDSTACK-3869: change default snapshot directory to VM folder
1 parent 6951e77 commit faf9640

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

‎vmware-base/src/com/cloud/hypervisor/vmware/mo/HypervisorHostHelper.java‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,18 +1201,6 @@ public static boolean createBlankVm(VmwareHypervisorHost host, String vmName, St
12011201
Thread.sleep(1000);
12021202
}
12031203

1204-
if(snapshotDirToParent) {
1205-
String snapshotDir = String.format("/vmfs/volumes/%s/", dsMo.getName());
1206-
1207-
s_logger.info("Switch snapshot working directory to " + snapshotDir + " for " + vmInternalCSName);
1208-
vmMo.setSnapshotDirectory(snapshotDir);
1209-
1210-
// Don't have a good way to test if the VM is really ready for use through normal API after configuration file manipulation,
1211-
// delay 3 seconds
1212-
Thread.sleep(3000);
1213-
}
1214-
1215-
s_logger.info("Blank VM: " + vmInternalCSName + " is ready for use");
12161204
return true;
12171205
}
12181206
return false;

0 commit comments

Comments
 (0)