diff options
author | Christian Breunig <christian@breunig.cc> | 2024-06-10 13:07:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-10 13:07:38 +0200 |
commit | eaf20bb54c62f0eff0879d538cc1e9c52cabf07a (patch) | |
tree | 8c3f8f5749417164618f6dc68968b92ed648b367 /interface-definitions | |
parent | 82607438d6df5291c581d802c7a2a98eabe084ff (diff) | |
parent | f030464952168b553b5b3e29b461d437c2642a9b (diff) | |
download | vyos-1x-eaf20bb54c62f0eff0879d538cc1e9c52cabf07a.tar.gz vyos-1x-eaf20bb54c62f0eff0879d538cc1e9c52cabf07a.zip |
Merge pull request #3614 from nvollmar/T6219
T6219: Add support for container sysctl parameter
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/container.xml.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in index 1ad7215e5..6ea44a6d4 100644 --- a/interface-definitions/container.xml.in +++ b/interface-definitions/container.xml.in @@ -71,6 +71,35 @@ <multi/> </properties> </leafNode> + <node name="sysctl"> + <properties> + <help>Configure namespaced kernel parameters of the container</help> + </properties> + <children> + <tagNode name="parameter"> + <properties> + <help>Sysctl key name</help> + <completionHelp> + <script>${vyos_completion_dir}/list_container_sysctl_parameters.sh</script> + </completionHelp> + <valueHelp> + <format>txt</format> + <description>Sysctl key name</description> + </valueHelp> + <constraint> + <validator name="sysctl"/> + </constraint> + </properties> + <children> + <leafNode name="value"> + <properties> + <help>Sysctl configuration value</help> + </properties> + </leafNode> + </children> + </tagNode> + </children> + </node> #include <include/generic-description.xml.i> <tagNode name="device"> <properties> |