]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Update kernel dependencies on Ubuntu 498/head
authorZack Cerza <zack@redhat.com>
Tue, 19 May 2015 16:25:53 +0000 (10:25 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 19 May 2015 16:25:53 +0000 (10:25 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/task/kernel.py

index d40699df7b7b7e97490d1a10535e8dfa4ccbc351..9149786bb56eb786f99067dd584b9e9aa5c49832 100644 (file)
@@ -942,6 +942,8 @@ def get_latest_image_version_deb(remote, ostype):
             for line in output.getvalue().split('\n'):
                 if 'Depends:' in line:
                     depends = line.split('Depends: ')[1]
+                    remote.run(args=['sudo', 'apt-get', '-y', 'install',
+                                     depends])
             remote.run(args=['dpkg', '-s', depends], stdout=output)
         except run.CommandFailedError:
             # Non precise ubuntu machines (like trusty) don't have