From: Vasu Kulkarni Date: Fri, 26 Jan 2018 01:11:01 +0000 (-0800) Subject: use update_latest_rh_kernel for redhat configs X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8ac6cf3eeb0a42f6653ce9193b9c8212d7fabe09;p=teuthology.git use update_latest_rh_kernel for redhat configs Signed-off-by: Vasu Kulkarni --- 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})