From 97f5f1f609a8e34c8b1ae9512ddf7a863c903f4b Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 29 Jun 2015 14:43:22 -0600 Subject: [PATCH] Don't attempt to run dpkg on non-deb systems Signed-off-by: Zack Cerza --- teuthology/nuke.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teuthology/nuke.py b/teuthology/nuke.py index 1dfa9774c..c7839e491 100644 --- a/teuthology/nuke.py +++ b/teuthology/nuke.py @@ -241,6 +241,8 @@ def reset_syslog_dir(ctx): def dpkg_configure(ctx): nodes = {} for remote in ctx.cluster.remotes.iterkeys(): + if remote.os.package_type != 'deb': + continue proc = remote.run( args=[ 'sudo', 'dpkg', '--configure', '-a', -- 2.47.3