diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-02-24 11:05:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-24 11:05:32 +0200 |
| commit | af588920ce2fa11966ccfa4f4252328359d1f2da (patch) | |
| tree | a9528bad639752326f07a5134ca89b8871cd2415 /interface-definitions | |
| parent | 5d9d232fd93ad5bf89ba44a2d0ec3b196599fa74 (diff) | |
| parent | 98dd5131799bd480b3522efeb168b0899356065b (diff) | |
| download | vyos-1x-af588920ce2fa11966ccfa4f4252328359d1f2da.tar.gz vyos-1x-af588920ce2fa11966ccfa4f4252328359d1f2da.zip | |
Merge pull request #4358 from Embezzle/T7185
container: T7185: Allow tmpfs mounts within containers
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 04318a7c9..65ac99e12 100644 --- a/interface-definitions/container.xml.in +++ b/interface-definitions/container.xml.in @@ -412,6 +412,35 @@ </constraint> </properties> </leafNode> + <tagNode name="tmpfs"> + <properties> + <help>Mount a tmpfs filesystem into the container</help> + </properties> + <children> + <leafNode name="destination"> + <properties> + <help>Destination container directory</help> + <valueHelp> + <format>txt</format> + <description>Destination container directory</description> + </valueHelp> + </properties> + </leafNode> + <leafNode name="size"> + <properties> + <help>tmpfs filesystem size in MB</help> + <valueHelp> + <format>u32:1-65536</format> + <description>tmpfs filesystem size in MB</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-65535"/> + </constraint> + <constraintErrorMessage>Container tmpfs size must be between 1 and 65535 MB</constraintErrorMessage> + </properties> + </leafNode> + </children> + </tagNode> <tagNode name="volume"> <properties> <help>Mount a volume into the container</help> |
