Commit bcd72da9 authored by Stratos Psomadakis's avatar Stratos Psomadakis

deploy: Don't use local

It seems that stderr/stdout catpure/output is not working well with
local(), which result in archipelago and iproute2 defunct commands. Use
run() instead.
parent aaa53205
......@@ -140,10 +140,7 @@ class FabricRunner(object):
@_setup_fabric_env
def run(self, cmd):
self._debug("RunCmd %s .." % cmd)
if config.autoconf:
return local(cmd, capture=True, shell="/bin/bash")
else:
return run(cmd)
return run(cmd)
class ComponentRunner(FabricRunner):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment