diff options
| author | Christian Breunig <christian@breunig.cc> | 2025-07-29 22:12:56 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2025-07-29 22:12:56 +0200 |
| commit | 2b1ea8b3286486c9d64618557c19651b6073ca0c (patch) | |
| tree | da32c1f27a4cc3da03538cc82fc4ea80a5e8fb37 /op-mode-definitions/container.xml.in | |
| parent | a551fa45573ef57858904773d4bcc99dbf553b19 (diff) | |
| download | vyos-1x-2b1ea8b3286486c9d64618557c19651b6073ca0c.tar.gz vyos-1x-2b1ea8b3286486c9d64618557c19651b6073ca0c.zip | |
op-mode: T7403: podman images must be listed as root
This partially reverts commit 6b562aae2409 ("op-mode: T7459: eliminate direct
use of sudo in op mode commands") as the podman image listing currently only
works under superuser rights.
Diffstat (limited to 'op-mode-definitions/container.xml.in')
| -rw-r--r-- | op-mode-definitions/container.xml.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/container.xml.in b/op-mode-definitions/container.xml.in index a284bc970..ea515fe7c 100644 --- a/op-mode-definitions/container.xml.in +++ b/op-mode-definitions/container.xml.in @@ -42,7 +42,7 @@ <help>Delete container image</help> <completionHelp> <list>all</list> - <script>podman image ls -q</script> + <script>sudo bash -c 'podman image ls -q'</script> </completionHelp> </properties> <command>${vyos_op_scripts_dir}/container.py delete_image --name "${4}"</command> |
