summaryrefslogtreecommitdiff
path: root/op-mode-definitions/system-image.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/system-image.xml.in')
-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>