mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-4135: [Object_store_refactor] ISO attached to the guest vm
has wrong mount path.
This commit is contained in:
parent
17b2bda13c
commit
82c35e52ea
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user