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
|
||||
tags:
|
||||
- role_specific
|
||||
ExtraKernelPackages:
|
||||
default: {}
|
||||
description: List of extra kernel related packages to install.
|
||||
type: json
|
||||
tags:
|
||||
- role_specific
|
||||
ExtraSysctlSettings:
|
||||
default: {}
|
||||
description: Hash of extra sysctl settings to apply.
|
||||
@ -99,10 +105,12 @@ resources:
|
||||
map_replace:
|
||||
- map_replace:
|
||||
- extra_kernel_modules: ExtraKernelModules
|
||||
extra_kernel_packages: ExtraKernelPackages
|
||||
extra_sysctl_settings: ExtraSysctlSettings
|
||||
- values: {get_param: [RoleParameters]}
|
||||
- values:
|
||||
ExtraKernelModules: {get_param: ExtraKernelModules}
|
||||
ExtraKernelPackages: {get_param: ExtraKernelPackages}
|
||||
ExtraSysctlSettings: {get_param: ExtraSysctlSettings}
|
||||
|
||||
outputs:
|
||||
@ -120,6 +128,7 @@ outputs:
|
||||
map_merge:
|
||||
- nf_conntrack: {}
|
||||
- {get_attr: [RoleParametersValue, value, extra_kernel_modules]}
|
||||
kernel_packages: {get_attr: [RoleParametersValue, value, extra_kernel_packages]}
|
||||
sysctl_settings:
|
||||
map_merge:
|
||||
- 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