From 8ac6cf3eeb0a42f6653ce9193b9c8212d7fabe09 Mon Sep 17 00:00:00 2001 From: Vasu Kulkarni Date: Thu, 25 Jan 2018 17:11:01 -0800 Subject: [PATCH] use update_latest_rh_kernel for redhat configs Signed-off-by: Vasu Kulkarni --- teuthology/run.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/teuthology/run.py b/teuthology/run.py index 5c08cded9f..b95ce651d0 100644 --- a/teuthology/run.py +++ b/teuthology/run.py @@ -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}) -- 2.39.5