diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-08-01 13:23:09 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-08-01 13:23:48 +0200 |
commit | 50a0781b3f3e0c86d6418acb72b0036729a72283 (patch) | |
tree | abd9e8d793627e49b74141ba2913144981fa210b /op-mode-definitions/add-system-image.xml | |
parent | 134a05e95c14c5a7d2da23ca7fb1b05c533d53c6 (diff) | |
download | vyos-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/add-system-image.xml')
-rw-r--r-- | op-mode-definitions/add-system-image.xml | 4 |
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> |