diff --git a/qa/cephfs/mount/kclient/overrides/distro/testing/k-testing.yaml b/qa/cephfs/mount/kclient/overrides/distro/testing/k-testing.yaml index 2ee219125e7a7e..8d91f466d58519 100644 --- a/qa/cephfs/mount/kclient/overrides/distro/testing/k-testing.yaml +++ b/qa/cephfs/mount/kclient/overrides/distro/testing/k-testing.yaml @@ -1,3 +1,18 @@ +teuthology: + premerge: | + log.debug("base kernel %s", base_config.kernel) + local kernel = base_config.kernel + if kernel.branch ~= "distro" then + log.debug("overriding testing kernel with %s", kernel) + yaml_fragment.kernel.client = kernel + end +# remove the default for non-client nodes: + postmerge: + - attr(yaml.kernel).pop('branch') + - attr(yaml.kernel).pop('flavor') + - attr(yaml.kernel).pop('kdb') + - attr(yaml.kernel).pop('sha1') + kernel: client: branch: testing