From: Zack Cerza Date: Tue, 30 Jun 2015 15:17:45 +0000 (-0600) Subject: Use sudo when removing timedhosts files X-Git-Tag: 1.1.0~894 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f89208bf8eeaef61209dccdec5d458b14ad8fa27;p=teuthology.git Use sudo when removing timedhosts files Signed-off-by: Zack Cerza --- diff --git a/teuthology/nuke.py b/teuthology/nuke.py index c7839e491..2b3866892 100644 --- a/teuthology/nuke.py +++ b/teuthology/nuke.py @@ -270,7 +270,7 @@ def remove_yum_timedhosts(ctx): if remote.os.package_type != 'rpm': continue remote.run( - args="find /var/cache/yum -name 'timedhosts' -exec rm {} \;", + args="sudo find /var/cache/yum -name 'timedhosts' -exec rm {} \;", check_status=False, )