From 37e905de5ec903cff3e83ce4863b22b9e6d53d73 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 1 Aug 2020 12:28:21 +0200 Subject: T2753: add new op-mode command "add system image" --- op-mode-definitions/add-system-image.xml | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 op-mode-definitions/add-system-image.xml (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/add-system-image.xml b/op-mode-definitions/add-system-image.xml new file mode 100644 index 000000000..2809f6050 --- /dev/null +++ b/op-mode-definitions/add-system-image.xml @@ -0,0 +1,38 @@ + + + + + + + Add item to a system facility + + + + + Add a new image to the system + + /path/to/vyos-image.iso http://example.com/vyos-image.iso + + + sudo ${vyatta_sbindir}/install-image "$4" + + + + Username for authentication + + + + + Password to use with authentication + + sudo ${vyatta_sbindir}/install-image "$4" "$6" "$8" + + + + + + + + + + -- cgit v1.2.3