summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-08-08 16:45:17 -0500
committerJohn Estabrook <jestabro@vyos.io>2020-08-08 16:47:04 -0500
commit98e5105de4390780cf12494c59a06aae5433a67b (patch)
tree7f490338730b8b03246daaecc44e89bd8b2f89df
parent846e306700af191d22dc874992bbf5f04d2799c4 (diff)
downloadvyos-1x-98e5105de4390780cf12494c59a06aae5433a67b.tar.gz
vyos-1x-98e5105de4390780cf12494c59a06aae5433a67b.zip
http api: T1431: update args of call to install-image
commit 3f8884587 added an endpoint for image management; T2753 updated the command line options. Make script call consistent.
-rw-r--r--python/vyos/configsession.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/configsession.py b/python/vyos/configsession.py
index f2524b37e..0994fd974 100644
--- a/python/vyos/configsession.py
+++ b/python/vyos/configsession.py
@@ -26,7 +26,7 @@ DISCARD = '/opt/vyatta/sbin/my_discard'
SHOW_CONFIG = ['/bin/cli-shell-api', 'showConfig']
LOAD_CONFIG = ['/bin/cli-shell-api', 'loadFile']
SAVE_CONFIG = ['/opt/vyatta/sbin/vyatta-save-config.pl']
-INSTALL_IMAGE = ['/opt/vyatta/sbin/install-image']
+INSTALL_IMAGE = ['/opt/vyatta/sbin/install-image', '--url']
REMOVE_IMAGE = ['/opt/vyatta/bin/vyatta-boot-image.pl', '--del']
GENERATE = ['/opt/vyatta/bin/vyatta-op-cmd-wrapper', 'generate']
SHOW = ['/opt/vyatta/bin/vyatta-op-cmd-wrapper', 'show']