diff options
-rw-r--r-- | storperf/fio/fio_invoker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storperf/fio/fio_invoker.py b/storperf/fio/fio_invoker.py index e343dce..017f74a 100644 --- a/storperf/fio/fio_invoker.py +++ b/storperf/fio/fio_invoker.py @@ -8,7 +8,6 @@ ############################################################################## from threading import Thread -import cmd import json import logging import subprocess @@ -79,7 +78,8 @@ class FIOInvoker(object): cmd = "ssh" additional_args = ['-o', 'StrictHostKeyChecking=no', '-i', 'storperf/resources/ssh/storperf_rsa', - 'ubuntu@' + self.remote_host, "./fio"] + 'ubuntu@' + self.remote_host, + "sudo", "./fio"] args = additional_args + args self.fio_process = subprocess.Popen([cmd] + args, |