diff options
author | Piotr Maksymiuk <piotr.maksymiuk@movishell.pl> | 2024-02-01 22:59:54 +0100 |
---|---|---|
committer | Piotr Maksymiuk <piotr.maksymiuk@movishell.pl> | 2024-02-02 09:53:15 +0100 |
commit | 52e9707a43290f5f826766e2c42c5f0db3c9adec (patch) | |
tree | 9b3b70ad7bdb459033a6c8dd4697ccdf0688747a /interface-definitions/container.xml.in | |
parent | 97db72a4e2c6cae5b0883495236c4c69c9a4187a (diff) | |
download | vyos-1x-52e9707a43290f5f826766e2c42c5f0db3c9adec.tar.gz vyos-1x-52e9707a43290f5f826766e2c42c5f0db3c9adec.zip |
container: T5955: allow setting uid/gid
Diffstat (limited to 'interface-definitions/container.xml.in')
-rw-r--r-- | interface-definitions/container.xml.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in index b35ba8d1c..f0db8a6f2 100644 --- a/interface-definitions/container.xml.in +++ b/interface-definitions/container.xml.in @@ -316,6 +316,30 @@ </properties> <defaultValue>on-failure</defaultValue> </leafNode> + <leafNode name="uid"> + <properties> + <help>User ID this container will run as</help> + <valueHelp> + <format>u32:0-65535</format> + <description>User ID this container will run as</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 0-65535"/> + </constraint> + </properties> + </leafNode> + <leafNode name="gid"> + <properties> + <help>Group ID this container will run as</help> + <valueHelp> + <format>u32:0-65535</format> + <description>Group ID this container will run as</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 0-65535"/> + </constraint> + </properties> + </leafNode> <tagNode name="volume"> <properties> <help>Mount a volume into the container</help> |