summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-11 18:54:38 +0100
committerGitHub <noreply@github.com>2021-11-11 18:54:38 +0100
commit7357be6b5d77d3edabd7d75c402d8732770c6361 (patch)
tree4806b4feb99ef95c89170271e73cf36252c54762 /op-mode-definitions
parentc45e4beadf30accb1838b3bad1f21c2146469bf8 (diff)
parente8c3b66a17473785044ab1a1515ad1485d0870b2 (diff)
downloadvyos-1x-7357be6b5d77d3edabd7d75c402d8732770c6361.tar.gz
vyos-1x-7357be6b5d77d3edabd7d75c402d8732770c6361.zip
Merge pull request #1069 from UnicronNL/partresize
T3946: Automatically resize the root partition if the drive has extra…
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/force-part-resize.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/op-mode-definitions/force-part-resize.xml.in b/op-mode-definitions/force-part-resize.xml.in
new file mode 100644
index 000000000..cb76273c7
--- /dev/null
+++ b/op-mode-definitions/force-part-resize.xml.in
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="force">
+ <children>
+ <node name="resize-partition">
+ <properties>
+ <help>Resize the VyOS partition</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/force_part_resize.sh</command>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>