setup __remote_exec and __remote_copy variables
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
eaf2b28fd7
commit
ecc4fc10d7
1 changed files with 3 additions and 0 deletions
|
@ -297,6 +297,9 @@ def config(args):
|
||||||
|
|
||||||
time_start = datetime.datetime.now()
|
time_start = datetime.datetime.now()
|
||||||
|
|
||||||
|
os.environ['__remote_exec'] = ["ssh", "-o", "User=root" ]
|
||||||
|
os.environ['__remote_copy'] = ["scp", "-o", "User=root" ]
|
||||||
|
|
||||||
for host in args.host:
|
for host in args.host:
|
||||||
c = Config(host, initial_manifest=args.manifest, home=args.cdist_home, debug=args.debug)
|
c = Config(host, initial_manifest=args.manifest, home=args.cdist_home, debug=args.debug)
|
||||||
if args.parallel:
|
if args.parallel:
|
||||||
|
|
Loading…
Reference in a new issue