diff options
Diffstat (limited to 'resources/tools/topo_installation.py')
-rwxr-xr-x | resources/tools/topo_installation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/topo_installation.py b/resources/tools/topo_installation.py index 3e3fda864e..5dbaaaa2f8 100755 --- a/resources/tools/topo_installation.py +++ b/resources/tools/topo_installation.py @@ -35,9 +35,9 @@ def ssh_no_error(ssh, cmd, sudo=False): """ if sudo: - ret, stdo, stde = ssh.exec_command_sudo(cmd) + ret, stdo, stde = ssh.exec_command_sudo(cmd, timeout=60) else: - ret, stdo, stde = ssh.exec_command(cmd) + ret, stdo, stde = ssh.exec_command(cmd, timeout=60) if ret != 0: print 'Command execution failed: "{}"'.format(cmd) |