]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
install: ignore apt-get update failures on package removal
authorSage Weil <sage@inktank.com>
Thu, 21 Feb 2013 22:34:06 +0000 (14:34 -0800)
committerSage Weil <sage@inktank.com>
Thu, 21 Feb 2013 23:08:22 +0000 (15:08 -0800)
At that point we don't really care.

Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/task/install.py

index 9a745aaebfdae6bf16a68fad8cb4270af33738cc..f70bfa17cab24f6b3cddf859af3122de2751c71e 100644 (file)
@@ -148,6 +148,9 @@ def _remove_sources_list(remote):
             'sudo', 'rm', '-f', '/etc/apt/sources.list.d/ceph.list',
             run.Raw('&&'),
             'sudo', 'apt-get', 'update',
+            # ignore failure
+            run.Raw('||'),
+            'true',
             ],
         stdout=StringIO(),
        )