summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-01 13:23:09 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-01 13:23:48 +0200
commit50a0781b3f3e0c86d6418acb72b0036729a72283 (patch)
treeabd9e8d793627e49b74141ba2913144981fa210b /op-mode-definitions
parent134a05e95c14c5a7d2da23ca7fb1b05c533d53c6 (diff)
downloadvyos-1x-50a0781b3f3e0c86d6418acb72b0036729a72283.tar.gz
vyos-1x-50a0781b3f3e0c86d6418acb72b0036729a72283.zip
T2753: adjust "add system image" to new named command line arguments
This is needed work for adding VRF support.
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/add-system-image.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/add-system-image.xml b/op-mode-definitions/add-system-image.xml
index 2809f6050..a39f4cc22 100644
--- a/op-mode-definitions/add-system-image.xml
+++ b/op-mode-definitions/add-system-image.xml
@@ -14,7 +14,7 @@
<list>/path/to/vyos-image.iso http://example.com/vyos-image.iso</list>
</completionHelp>
</properties>
- <command>sudo ${vyatta_sbindir}/install-image "$4"</command>
+ <command>sudo ${vyatta_sbindir}/install-image --url "$4"</command>
<children>
<tagNode name="username">
<properties>
@@ -25,7 +25,7 @@
<properties>
<help>Password to use with authentication</help>
</properties>
- <command>sudo ${vyatta_sbindir}/install-image "$4" "$6" "$8"</command>
+ <command>sudo ${vyatta_sbindir}/install-image --url "$4" --username "$6" --password "$8"</command>
</tagNode>
</children>
</tagNode>