]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
use update_latest_rh_kernel for redhat configs
authorVasu Kulkarni <vasu@redhat.com>
Fri, 26 Jan 2018 01:11:01 +0000 (17:11 -0800)
committerVasu Kulkarni <vasu@redhat.com>
Thu, 14 Feb 2019 20:28:12 +0000 (12:28 -0800)
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
teuthology/run.py

index 5c08cded9f8e85877624d7e016a89e95d9177435..b95ce651d04ffd6e9f1a0f386894efc512bab98f 100644 (file)
@@ -208,8 +208,10 @@ def get_initial_tasks(lock, config, machine_type):
             {'internal.vm_setup': None},
         ])
 
-    if 'kernel' in config:
-        init_tasks.append({'kernel': config['kernel']})
+    # install_latest_rh_kernel is used for redhat config
+    if 'redhat' not in config:
+        if 'kernel' in config:
+            init_tasks.append({'kernel': config['kernel']})
 
     if 'roles' in config:
         init_tasks.append({'internal.base': None})