diff options
author | John Estabrook <jestabro@vyos.io> | 2023-11-27 21:33:44 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2023-12-16 20:37:10 -0600 |
commit | 94a7b2ae5bcc55d45f2d3c5f57b22b96f1b22c97 (patch) | |
tree | 8bab660c7e04e8c6ae41b642b37b30211a6228ae | |
parent | 1f7dc278fc73f710eb41446a56031dcc50bfa0af (diff) | |
download | vyos-1x-94a7b2ae5bcc55d45f2d3c5f57b22b96f1b22c97.tar.gz vyos-1x-94a7b2ae5bcc55d45f2d3c5f57b22b96f1b22c97.zip |
image-tools: T5751: use revised image tools in configsession
(cherry picked from commit 2ccb567bba6dba69a1523daf9096ba39a18b35d1)
-rw-r--r-- | python/vyos/configsession.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/vyos/configsession.py b/python/vyos/configsession.py index 9802ebae4..90842b749 100644 --- a/python/vyos/configsession.py +++ b/python/vyos/configsession.py @@ -30,8 +30,10 @@ SHOW_CONFIG = ['/bin/cli-shell-api', 'showConfig'] LOAD_CONFIG = ['/bin/cli-shell-api', 'loadFile'] MIGRATE_LOAD_CONFIG = ['/usr/libexec/vyos/vyos-load-config.py'] SAVE_CONFIG = ['/usr/libexec/vyos/vyos-save-config.py'] -INSTALL_IMAGE = ['/opt/vyatta/sbin/install-image', '--url'] -REMOVE_IMAGE = ['/opt/vyatta/bin/vyatta-boot-image.pl', '--del'] +INSTALL_IMAGE = ['/usr/libexec/vyos/op_mode/image_installer.py', + '--action', 'add', '--no-prompt', '--image-path'] +REMOVE_IMAGE = ['/usr/libexec/vyos/op_mode/image_manager.py', + '--action', 'delete', '--no-prompt', '--image-name'] GENERATE = ['/opt/vyatta/bin/vyatta-op-cmd-wrapper', 'generate'] SHOW = ['/opt/vyatta/bin/vyatta-op-cmd-wrapper', 'show'] RESET = ['/opt/vyatta/bin/vyatta-op-cmd-wrapper', 'reset'] |