diff --git a/fio.run-file/fio.json b/fio.run-file/fio.json index b8399db..529d45e 100644 --- a/fio.run-file/fio.json +++ b/fio.run-file/fio.json @@ -120,11 +120,24 @@ }, "endpoints": [ { - "type": "remotehost", - "host": "foo.example.com", - "user": "root", - "client": "1", - "userenv": "rhubi8" + "type": "remotehosts", + "settings": { + "user": "root", + "userenv": "rhubi8" + }, + "remotes": [ + { + "engines": [ + { "role": "client", "ids": [ 1 ] } + ], + "config": { + "host": "foo.example.com", + "settings": { + "osruntime": "podman" + } + } + } + ] } ], "run-params": { diff --git a/fio.run-file/run.sh b/fio.run-file/run.sh index dca6bd8..87367f2 100755 --- a/fio.run-file/run.sh +++ b/fio.run-file/run.sh @@ -41,9 +41,9 @@ function replace_value() { mv fio.json.tmp fio.json } -replace_value string remote_host ${remote_host} '."endpoints"[0]."host" = $remote_host' +replace_value string remote_host ${remote_host} '."endpoints"[0]."remotes"[0]."config"."host" = $remote_host' -replace_value string userenv ${userenv} '."endpoints"[0]."userenv" = $userenv' +replace_value string userenv ${userenv} '."endpoints"[0]."settings"."userenv" = $userenv' replace_value int samples ${samples} '."run-params"."num-samples" = $samples'