summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorAndrii <85483797+andriiandrieiev@users.noreply.github.com>2021-11-19 13:10:42 +0200
committerAndrii <85483797+andriiandrieiev@users.noreply.github.com>2021-11-25 14:26:39 +0200
commit86924ce3727aa7fe5caca248792874d221ae65cf (patch)
tree1b020c52733ae2993cd53e57f9443e9fd23f7416 /op-mode-definitions
parentaf1cfebaff5e98cf0e50325863def209f965abd4 (diff)
downloadvyos-1x-86924ce3727aa7fe5caca248792874d221ae65cf.tar.gz
vyos-1x-86924ce3727aa7fe5caca248792874d221ae65cf.zip
filesystem: T3946: partition 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>