mirror of https://github.com/apache/cloudstack.git
add datacenterid in StartupStorageCommand for xenserver
This commit is contained in:
parent
a6b478e092
commit
242d5f369f
|
|
@ -3432,6 +3432,7 @@ public abstract class CitrixResourceBase implements ServerResource {
|
|||
StartupStorageCommand cmd = new StartupStorageCommand();
|
||||
cmd.setPoolInfo(pInfo);
|
||||
cmd.setGuid(_host.uuid);
|
||||
cmd.setDataCenter(Long.toString(_dcId));
|
||||
cmd.setResourceType(Storage.StorageResourceType.STORAGE_POOL);
|
||||
return cmd;
|
||||
} catch (XenAPIException e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue