Add ExtraKernelPackages
Added new parameter naemd ExtraKernelPackages that can be used to install specific packages prior to the kmod execution. Change-Id: I505edc7f0391c67371881ce9e2d944f8608a091c Depends-On: https://review.opendev.org/#/c/676503/ Closes-Bug: #1840180
This commit is contained in:
parent
51c22afdf0
commit
85bb97423c
@ -78,6 +78,12 @@ parameters:
|
|||||||
type: json
|
type: json
|
||||||
tags:
|
tags:
|
||||||
- role_specific
|
- role_specific
|
||||||
|
ExtraKernelPackages:
|
||||||
|
default: {}
|
||||||
|
description: List of extra kernel related packages to install.
|
||||||
|
type: json
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
ExtraSysctlSettings:
|
ExtraSysctlSettings:
|
||||||
default: {}
|
default: {}
|
||||||
description: Hash of extra sysctl settings to apply.
|
description: Hash of extra sysctl settings to apply.
|
||||||
@ -99,10 +105,12 @@ resources:
|
|||||||
map_replace:
|
map_replace:
|
||||||
- map_replace:
|
- map_replace:
|
||||||
- extra_kernel_modules: ExtraKernelModules
|
- extra_kernel_modules: ExtraKernelModules
|
||||||
|
extra_kernel_packages: ExtraKernelPackages
|
||||||
extra_sysctl_settings: ExtraSysctlSettings
|
extra_sysctl_settings: ExtraSysctlSettings
|
||||||
- values: {get_param: [RoleParameters]}
|
- values: {get_param: [RoleParameters]}
|
||||||
- values:
|
- values:
|
||||||
ExtraKernelModules: {get_param: ExtraKernelModules}
|
ExtraKernelModules: {get_param: ExtraKernelModules}
|
||||||
|
ExtraKernelPackages: {get_param: ExtraKernelPackages}
|
||||||
ExtraSysctlSettings: {get_param: ExtraSysctlSettings}
|
ExtraSysctlSettings: {get_param: ExtraSysctlSettings}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
@ -120,6 +128,7 @@ outputs:
|
|||||||
map_merge:
|
map_merge:
|
||||||
- nf_conntrack: {}
|
- nf_conntrack: {}
|
||||||
- {get_attr: [RoleParametersValue, value, extra_kernel_modules]}
|
- {get_attr: [RoleParametersValue, value, extra_kernel_modules]}
|
||||||
|
kernel_packages: {get_attr: [RoleParametersValue, value, extra_kernel_packages]}
|
||||||
sysctl_settings:
|
sysctl_settings:
|
||||||
map_merge:
|
map_merge:
|
||||||
- net.ipv4.tcp_keepalive_intvl:
|
- net.ipv4.tcp_keepalive_intvl:
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Created a `ExtraKernelPackages` parameter to allow users to install
|
||||||
|
additional kernel related packages prior to loading the kernel modules
|
||||||
|
defined in `ExtraKernelModules`.
|
Loading…
Reference in New Issue
Block a user