summaryrefslogtreecommitdiff
path: root/op-mode-definitions/container.xml.in
diff options
context:
space:
mode:
authorZen3515 <7106408+Zen3515@users.noreply.github.com>2023-01-30 15:58:11 +0700
committerZen3515 <7106408+Zen3515@users.noreply.github.com>2023-01-30 16:03:15 +0700
commitb17251334c57c2f6875c19ad4e6c6127aa9e1811 (patch)
tree2937cf711f3641da2d0c174bda72a83ab9b102a1 /op-mode-definitions/container.xml.in
parent3c750f9b12b54d872848f6571deb02245ba8e28a (diff)
downloadvyos-1x-b17251334c57c2f6875c19ad4e6c6127aa9e1811.tar.gz
vyos-1x-b17251334c57c2f6875c19ad4e6c6127aa9e1811.zip
container: T4959: Add container registry authentication config for containers
Diffstat (limited to 'op-mode-definitions/container.xml.in')
-rw-r--r--op-mode-definitions/container.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/container.xml.in b/op-mode-definitions/container.xml.in
index ada9a4d59..5e5873ed8 100644
--- a/op-mode-definitions/container.xml.in
+++ b/op-mode-definitions/container.xml.in
@@ -167,7 +167,7 @@
<path>container name</path>
</completionHelp>
</properties>
- <command>if cli-shell-api existsActive container name "$4"; then sudo podman pull $(cli-shell-api returnActiveValue container name "$4" image); else echo "Container $4 does not exist"; fi</command>
+ <command>if cli-shell-api existsActive container name "$4"; then sudo podman pull --authfile /etc/containers/auth.json $(cli-shell-api returnActiveValue container name "$4" image); else echo "Container $4 does not exist"; fi</command>
</tagNode>
</children>
</node>