CLOUDSTACK-2481: the wait is in seconds in copycommand

This commit is contained in:
Edison Su 2013-07-25 10:28:56 -07:00
parent 8e72a728b7
commit 86d919eee2

View File

@ -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);