summaryrefslogtreecommitdiff
path: root/interface-definitions/container.xml.in
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/container.xml.in
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/container.xml.in')
-rw-r--r--interface-definitions/container.xml.in4
1 files changed, 2 insertions, 2 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>