]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
install: remove ceph-release rpm file after it's used
authorJosh Durgin <josh.durgin@inktank.com>
Fri, 19 Jul 2013 21:36:18 +0000 (14:36 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Fri, 19 Jul 2013 21:36:18 +0000 (14:36 -0700)
No need for it anymore, it's just taking up space

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
teuthology/task/install.py

index 6e1e6d0d9849da8ff1f1a945a93677836e22e322..f3bdea7bd6c09e1640d697de6de2ce84ef31c950 100644 (file)
@@ -172,7 +172,7 @@ def _update_rpm_package_list_and_install(ctx, remote, rpm, config):
                 pkg=ceph_release)
         if cmp_msg != err_mess.getvalue().strip():
             raise
-    
+    remote.run(args=['rm', '-f', rpm_name])
     remote.run(
         args=[
             'sudo', 'yum', 'clean', 'all',