summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-06 21:06:06 +0200
committerChristian Breunig <christian@breunig.cc>2024-04-06 21:07:59 +0200
commitb30faa43c28b592febd83a7fd3a58247de6b27bc (patch)
tree9e301d0361dd606ce86845aeb921d199db41bfce /interface-definitions
parentc55754fd5fe69a44ea33830d60342b894768af58 (diff)
downloadvyos-1x-b30faa43c28b592febd83a7fd3a58247de6b27bc.tar.gz
vyos-1x-b30faa43c28b592febd83a7fd3a58247de6b27bc.zip
container: T6208: rename "cap-add" CLI node to "capability"
Containers have the ability to add Linux system capabilities to them, this is done using the "set container name <name> cap-add" command. The CLI node sounds off and rather should be "set container name <name> capability" instead as we use and pass a capability to a container and not add/invent new ones.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/container.xml.in4
-rw-r--r--interface-definitions/include/version/container-version.xml.i2
2 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in
index 7e1f4811a..94f2e92f5 100644
--- a/interface-definitions/container.xml.in
+++ b/interface-definitions/container.xml.in
@@ -21,9 +21,9 @@
<valueless/>
</properties>
</leafNode>
- <leafNode name="cap-add">
+ <leafNode name="capability">
<properties>
- <help>Container capabilities/permissions</help>
+ <help>Grant individual Linux capability to container instance</help>
<completionHelp>
<list>net-admin net-bind-service net-raw setpcap sys-admin sys-module sys-time</list>
</completionHelp>
diff --git a/interface-definitions/include/version/container-version.xml.i b/interface-definitions/include/version/container-version.xml.i
index 129469cec..ed6e942cd 100644
--- a/interface-definitions/include/version/container-version.xml.i
+++ b/interface-definitions/include/version/container-version.xml.i
@@ -1,3 +1,3 @@
<!-- include start from include/version/container-version.xml.i -->
-<syntaxVersion component='container' version='1'></syntaxVersion>
+<syntaxVersion component='container' version='2'></syntaxVersion>
<!-- include end -->