]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
nuke: tolerate failed dpkg --configure -a/apt-get -f install
authorSage Weil <sage@inktank.com>
Sun, 17 Feb 2013 03:36:45 +0000 (19:36 -0800)
committerSage Weil <sage@inktank.com>
Mon, 18 Feb 2013 21:39:05 +0000 (13:39 -0800)
Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/nuke.py

index 258b8578b26536b856f67d621797d4c162793e0c..e7c04ca9c8f79b02b9625d176510815a8d7c6490 100644 (file)
@@ -234,6 +234,8 @@ def dpkg_configure(ctx, log):
                 'sudo', 'dpkg', '--configure', '-a',
                 run.Raw('&&'),
                 'sudo', 'apt-get', '-f', 'install',
+                run.Raw('||'),
+                ':',
                 ],
             wait=False,
             )