]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Added requested comment.
authorSandon Van Ness <sandon@inktank.com>
Thu, 5 Jun 2014 19:07:47 +0000 (12:07 -0700)
committerSandon Van Ness <sandon@inktank.com>
Mon, 23 Jun 2014 21:35:31 +0000 (14:35 -0700)
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
teuthology/task/kernel.py

index 2f2ea6fe9ea4d991b4e40438443ac8ed957ba269..0ac7360d5428d6f1e657cc0499bb2e4801f224e8 100644 (file)
@@ -282,6 +282,7 @@ def download_kernel(ctx, config):
                 kernel_url = urlparse.urljoin(rpm_url, 'kernel.x86_64.rpm')
                 output, err_mess = StringIO(), StringIO()
                 role_remote.run(args=['sudo', 'yum', 'list', 'installed', 'kernel'], stdout=output, stderr=err_mess )
+                # Check if short (first 8 digits) sha1 is in uname output as expected
                 if src[0:7] in output.getvalue():
                     output.close()
                     err_mess.close()