From d657e65d66c14c007c235779ecb73ef5b8cfa327 Mon Sep 17 00:00:00 2001 From: sever-sever Date: Wed, 21 Apr 2021 17:20:27 +0000 Subject: container: T2216: Rewrite op-mode to python --- op-mode-definitions/containers.xml.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/containers.xml.in b/op-mode-definitions/containers.xml.in index a530bcff4..a22549dd9 100644 --- a/op-mode-definitions/containers.xml.in +++ b/op-mode-definitions/containers.xml.in @@ -11,7 +11,7 @@ Pull a new image for container - sudo ${vyos_op_scripts_dir}/containers_op.sh --pull "${4}" + sudo ${vyos_op_scripts_dir}/containers_op.py --pull "${4}" @@ -28,7 +28,7 @@ Delete container image - sudo ${vyos_op_scripts_dir}/containers_op.sh --remove "${4}" + sudo ${vyos_op_scripts_dir}/containers_op.py --remove "${4}" @@ -40,19 +40,19 @@ Show containers - sudo ${vyos_op_scripts_dir}/containers_op.sh --show-containers + sudo ${vyos_op_scripts_dir}/containers_op.py --all - Show available container images + Delete container image - sudo ${vyos_op_scripts_dir}/containers_op.sh --show-images + sudo ${vyos_op_scripts_dir}/containers_op.py --image Show available container networks - sudo ${vyos_op_scripts_dir}/containers_op.sh --show-networks + sudo ${vyos_op_scripts_dir}/containers_op.py --networks -- cgit v1.2.3