mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
CLOUDSTACK-2481: the wait is in seconds in copycommand
This commit is contained in:
parent
8e72a728b7
commit
86d919eee2
@ -367,7 +367,7 @@ public class NfsSecondaryStorageResource extends ServerResourceBase implements S
|
||||
|
||||
String templateUuid = UUID.randomUUID().toString();
|
||||
String templateName = templateUuid + ".vhd";
|
||||
Script command = new Script(this.createTemplateFromSnapshotXenScript, cmd.getWait(), s_logger);
|
||||
Script command = new Script(this.createTemplateFromSnapshotXenScript, cmd.getWait() * 1000, s_logger);
|
||||
command.add("-p", snapshotPath);
|
||||
command.add("-s", snapshotName);
|
||||
command.add("-n", templateName);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user