From 9e7b5abeb9c6d658c905e5738bffb0ed912606ad Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Tue, 22 Oct 2019 12:36:47 -0700 Subject: [PATCH] updated fabric commands to be hide output --- daemon/core/emulator/distributed.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/daemon/core/emulator/distributed.py b/daemon/core/emulator/distributed.py index 24ffbae6..5abb5bef 100644 --- a/daemon/core/emulator/distributed.py +++ b/daemon/core/emulator/distributed.py @@ -18,6 +18,7 @@ from core.nodes.ipaddress import IpAddress from core.nodes.network import CoreNetwork, CtrlNet LOCK = threading.Lock() +CMD_HIDE = True class DistributedServer(object): @@ -60,12 +61,12 @@ class DistributedServer(object): try: if cwd is None: result = self.conn.run( - cmd, hide=False, env=env, replace_env=replace_env + cmd, hide=CMD_HIDE, env=env, replace_env=replace_env ) else: with self.conn.cd(cwd): result = self.conn.run( - cmd, hide=False, env=env, replace_env=replace_env + cmd, hide=CMD_HIDE, env=env, replace_env=replace_env ) return result.stdout.strip() except UnexpectedExit as e: