diff --git a/qa/tasks/qemu.py b/qa/tasks/qemu.py index 3a98a628830..b0eafab82c7 100644 --- a/qa/tasks/qemu.py +++ b/qa/tasks/qemu.py @@ -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)