summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-23 11:46:20 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-23 11:46:20 +0200
commit461e3e1b47813d808bf22c9f8e2d8d8fb427fac2 (patch)
tree2771a058f936e8b78fb00d0e301c7ad8485f526b
parent27095042decb58fb53766c190bb60adcb69805ef (diff)
downloadvyos-1x-461e3e1b47813d808bf22c9f8e2d8d8fb427fac2.tar.gz
vyos-1x-461e3e1b47813d808bf22c9f8e2d8d8fb427fac2.zip
container: T2216: add completion helper for "delete container image"
-rw-r--r--op-mode-definitions/containers.xml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/op-mode-definitions/containers.xml.in b/op-mode-definitions/containers.xml.in
index 1ed569407..e93487105 100644
--- a/op-mode-definitions/containers.xml.in
+++ b/op-mode-definitions/containers.xml.in
@@ -40,6 +40,9 @@
<tagNode name="image">
<properties>
<help>Delete container image</help>
+ <completionHelp>
+ <script>sudo podman image ls -q</script>
+ </completionHelp>
</properties>
<command>sudo ${vyos_op_scripts_dir}/containers_op.py --remove "${4}"</command>
</tagNode>