mirror of
https://github.com/ceph/ceph
synced 2025-01-04 02:02:36 +00:00
qa/tasks/qemu: use remote.write_file
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
This commit is contained in:
parent
bfd5d8b097
commit
6179f2a431
@ -170,10 +170,10 @@ def generate_iso(ctx, config):
|
||||
user_data = user_data.format(
|
||||
ceph_branch=ctx.config.get('branch'),
|
||||
ceph_sha1=ctx.config.get('sha1'))
|
||||
teuthology.write_file(remote, userdata_path, user_data)
|
||||
remote.write_file(userdata_path, user_data)
|
||||
|
||||
with open(os.path.join(src_dir, 'metadata.yaml'), 'rb') as f:
|
||||
teuthology.write_file(remote, metadata_path, f)
|
||||
remote.write_file(metadata_path, f)
|
||||
|
||||
test_file = '{tdir}/qemu/{client}.test.sh'.format(tdir=testdir, client=client)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user