summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-27 20:19:28 +0100
committerGitHub <noreply@github.com>2021-11-27 20:19:28 +0100
commitbf42ec2bc04c30f85bca15472c1ad04c1366c1d3 (patch)
tree01ce9f56598efe16157f48bef10ebadf81d0dcae /op-mode-definitions
parentf7ffdcd18f81fdc9fd3ad8c0ee5fe58903d548fa (diff)
parent1c72a0ebb69ccdffcf33f917359e3da888f8db38 (diff)
downloadvyos-1x-bf42ec2bc04c30f85bca15472c1ad04c1366c1d3.tar.gz
vyos-1x-bf42ec2bc04c30f85bca15472c1ad04c1366c1d3.zip
Merge pull request #1085 from andriiandrieiev/equuleus
filesystem: T3946: root partition auto resize as a service
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/force-root-partition-auto-resize.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/op-mode-definitions/force-root-partition-auto-resize.xml.in b/op-mode-definitions/force-root-partition-auto-resize.xml.in
new file mode 100644
index 000000000..f84c073b8
--- /dev/null
+++ b/op-mode-definitions/force-root-partition-auto-resize.xml.in
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="force">
+ <children>
+ <node name="root-partition-auto-resize">
+ <properties>
+ <help>Resize the VyOS partition</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/force_root-partition-auto-resize.sh</command>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>