updated utils.check_cmd to accept the same parameters as other commands and be leveraged for node cmds

This commit is contained in:
Blake Harnden 2019-10-11 13:15:57 -07:00
parent d326f246a7
commit fc7a161221
6 changed files with 25 additions and 22 deletions

View file

@ -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: