summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>