mirror of https://github.com/apache/cloudstack.git
bug 10112: generarting the right url for corresponding hypervisors for extract template.
status 10112: resolved fixed
This commit is contained in:
parent
4120a07526
commit
7677a2bfee
|
|
@ -228,7 +228,7 @@ public class UploadMonitorImpl implements UploadMonitor {
|
|||
_uploadDao.persist(uploadTemplateObj);
|
||||
try{
|
||||
// Create Symlink at ssvm
|
||||
String uuid = UUID.randomUUID().toString() + ".vhd";
|
||||
String uuid = UUID.randomUUID().toString() + "." + template.getFormat().toString().toLowerCase();
|
||||
CreateEntityDownloadURLCommand cmd = new CreateEntityDownloadURLCommand(storageServers.get(0).getParent(), vmTemplateHost.getInstallPath(), uuid);
|
||||
long result = send(use_ssvm.getId(), cmd, null);
|
||||
if (result == -1){
|
||||
|
|
|
|||
Loading…
Reference in New Issue