mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
avoid creating same primary storage multiple times for XenServer
This commit is contained in:
parent
81c5e184ba
commit
dbe950a27e
@ -96,7 +96,7 @@ public class Xenserver625StorageProcessor extends XenServerStorageProcessor {
|
||||
Host host = Host.getByUuid(conn, hypervisorResource.getHost().uuid);
|
||||
String uuid = UUID.randomUUID().toString();
|
||||
|
||||
sr = SR.introduce(conn,uuid, uuid, uuid, "file", "file", false, smConfig);
|
||||
sr = SR.introduce(conn, uuid, srname, srname, "file", "file", false, smConfig);
|
||||
PBD.Record record = new PBD.Record();
|
||||
record.host = host;
|
||||
record.SR = sr;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user