summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-02-03 15:33:12 +0100
committerGitHub <noreply@github.com>2026-02-03 15:33:12 +0100
commite7b45505a57dbbc2ec4cab31156b4110dcb4f508 (patch)
tree458b38509242e43c930548580cc285ba70bfd229 /src
parent810d1048c0c95e0037b4356877dd75b9b1cc02ee (diff)
parent9e3f96b9809964541d911b62831ee31efa13289e (diff)
downloadvyos-1x-e7b45505a57dbbc2ec4cab31156b4110dcb4f508.tar.gz
vyos-1x-e7b45505a57dbbc2ec4cab31156b4110dcb4f508.zip
Merge pull request #4964 from c-po/progress-bar
utils: T8018: add unbuffered output support to popen()
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/container.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/op_mode/container.py b/src/op_mode/container.py
index 281c95e2c..d513bb623 100755
--- a/src/op_mode/container.py
+++ b/src/op_mode/container.py
@@ -94,8 +94,7 @@ def add_image(name: str):
rc, out = rc_cmd(cmd)
if rc != 0: raise vyos.opmode.InternalError(out)
- rc, output = rc_cmd(f'podman image pull {name}')
- print(output)
+ rc, output = rc_cmd(f'podman image pull {name}', buffered=False)
if rc != 0:
raise vyos.opmode.InternalError(output)