machine: increase timeout for sudo access check
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
05ca71f5a8
commit
7e35e54a71
|
@ -394,7 +394,7 @@ class Machine:
|
|||
shell_cmd: SCMDComp = self.server.lookup_component("shell_command")
|
||||
for cmd in cmds:
|
||||
try:
|
||||
await self.exec_sudo_command(cmd)
|
||||
await self.exec_sudo_command(cmd, timeout=10.)
|
||||
except shell_cmd.error:
|
||||
return False
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue