diff options
author | Ben Pilgrim <ben@pilgrim.me.uk> | 2024-04-09 20:05:14 +0100 |
---|---|---|
committer | Nicolas Vollmar <nvo@scaling.ch> | 2024-06-10 10:32:19 +0200 |
commit | 717ea64e4c54a8be619ffc29c16c6203b29319dd (patch) | |
tree | 3c9dcb20e588617329d4300769f30bb831d0d425 /interface-definitions/container.xml.in | |
parent | 82607438d6df5291c581d802c7a2a98eabe084ff (diff) | |
download | vyos-1x-717ea64e4c54a8be619ffc29c16c6203b29319dd.tar.gz vyos-1x-717ea64e4c54a8be619ffc29c16c6203b29319dd.zip |
container: T6219: Add support for container sysctl / kernel parameters
Diffstat (limited to 'interface-definitions/container.xml.in')
-rw-r--r-- | interface-definitions/container.xml.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in index 1ad7215e5..cd970591b 100644 --- a/interface-definitions/container.xml.in +++ b/interface-definitions/container.xml.in @@ -71,6 +71,26 @@ <multi/> </properties> </leafNode> + <tagNode name="kernel-parameter"> + <properties> + <help>Add custom kernel parameters (sysctl)</help> + <constraint> + <regex>[._a-z*]+</regex> + </constraint> + <constraintErrorMessage>Kernel parameter name must be alphanumeric and can contain periods, asterisks and underscores</constraintErrorMessage> + </properties> + <children> + <leafNode name="value"> + <properties> + <help>Set kernel parameter option value</help> + <valueHelp> + <format>txt</format> + <description>Set kernel parameter option value</description> + </valueHelp> + </properties> + </leafNode> + </children> + </tagNode> #include <include/generic-description.xml.i> <tagNode name="device"> <properties> |