updated utils.check_cmd to accept the same parameters as other commands and be leveraged for node cmds
This commit is contained in:
parent
d326f246a7
commit
fc7a161221
6 changed files with 25 additions and 22 deletions
|
@ -322,7 +322,7 @@ class CoreNetwork(CoreNetworkBase):
|
|||
:raises CoreCommandError: when a non-zero exit status occurs
|
||||
"""
|
||||
logging.info("network node(%s) cmd", self.name)
|
||||
output = utils.check_cmd(args, env=env, cwd=cwd)
|
||||
output = utils.check_cmd(args, env, cwd, wait)
|
||||
|
||||
args = " ".join(args)
|
||||
for server in self.session.servers:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue