summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-10-31 12:53:52 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-11-16 12:19:15 -0600
commit9ffa3e82d951756696367578dd5e82ef0f690065 (patch)
tree4c5b2b2fe6881f407e5076647f3d1db99b5cf458 /op-mode-definitions
parent3d15cfd484e8c2732d9f10e4065f2282f1f5d334 (diff)
downloadvyos-1x-9ffa3e82d951756696367578dd5e82ef0f690065.tar.gz
vyos-1x-9ffa3e82d951756696367578dd5e82ef0f690065.zip
image: T4516: restore select entry to set/delete image
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/system-image.xml.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/op-mode-definitions/system-image.xml.in b/op-mode-definitions/system-image.xml.in
index 57aeb7bb4..463b985d6 100644
--- a/op-mode-definitions/system-image.xml.in
+++ b/op-mode-definitions/system-image.xml.in
@@ -77,6 +77,12 @@
<help>Set system image parameters</help>
</properties>
<children>
+ <node name="default-boot">
+ <properties>
+ <help>Set default image to boot.</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/image_manager.py --action set</command>
+ </node>
<tagNode name="default-boot">
<properties>
<help>Set default image to boot.</help>
@@ -115,6 +121,12 @@
<help>Delete system objects</help>
</properties>
<children>
+ <node name="image">
+ <properties>
+ <help>Remove an installed image from the system</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/image_manager.py --action delete</command>
+ </node>
<tagNode name="image">
<properties>
<help>Remove an installed image from the system</help>