Generalize configuration for controller access.
Add comment about libvirt resize.
Fix stress bug.
Change-Id: Ieb751abd24fb7a5bc4747550c465541ab2fbfc9e
diff --git a/stress/utils/util.py b/stress/utils/util.py
index aac6c26..ac8f062 100644
--- a/stress/utils/util.py
+++ b/stress/utils/util.py
@@ -32,6 +32,7 @@
def ssh(keypath, user, node, command, check=True):
+ command = 'sudo ' + command
command = "ssh %s %s@%s %s" % (get_ssh_options(keypath), user,
node, command)
popenargs = shlex.split(command)