Revision 147af04d
b/lib/backend.py | ||
---|---|---|
1455 | 1455 |
fdstdin = open("/dev/null", "r") |
1456 | 1456 |
child = subprocess.Popen([script], stdin=fdstdin, stdout=subprocess.PIPE, |
1457 | 1457 |
stderr=subprocess.STDOUT, close_fds=True, |
1458 |
shell=False, cwd="/",env=env) |
|
1458 |
shell=False, cwd="/", env=env)
|
|
1459 | 1459 |
output = "" |
1460 | 1460 |
try: |
1461 | 1461 |
output = child.stdout.read(4096) |
b/scripts/gnt-backup | ||
---|---|---|
95 | 95 |
vcpus=opts.vcpus, ip_check=opts.ip_check, |
96 | 96 |
ip=opts.ip, bridge=opts.bridge, start=False, |
97 | 97 |
src_node=opts.src_node, src_path=opts.src_dir, |
98 |
wait_for_sync=opts.wait_for_sync,mac="auto") |
|
98 |
wait_for_sync=opts.wait_for_sync, mac="auto")
|
|
99 | 99 |
SubmitOpCode(op) |
100 | 100 |
return 0 |
101 | 101 |
|
Also available in: Unified diff