]> git.apps.os.sepia.ceph.com Git - ceph.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>
Thu, 5 Jun 2014 19:07:47 +0000 (12:07 -0700)
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
teuthology/task/kernel.py

index cd085f7bb9454ddebe1cf8259eb1857c4f2d34fe..6993ef64b5b0b2b8c81d401e4b4226651dbe0c05 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()