CLOUDSTACK-4135: [Object_store_refactor] ISO attached to the guest vm

has wrong mount path.
This commit is contained in:
Min Chen 2013-08-07 17:26:42 -07:00
parent 17b2bda13c
commit 82c35e52ea

View File

@ -1281,7 +1281,7 @@ public class VmwareStorageProcessor implements StorageProcessor {
// attachment
DatastoreMO secondaryDsMo = new DatastoreMO(this.hostService.getServiceContext(null), morSecondaryDs);
String storeName = secondaryDsMo.getName();
String isoDatastorePath = String.format("[%s] %s%s", storeName, isoStorePathFromRoot, isoFileName);
String isoDatastorePath = String.format("[%s] %s/%s", storeName, isoStorePathFromRoot, isoFileName);
if (isAttach) {
vmMo.attachIso(isoDatastorePath, morSecondaryDs, true, false);