diff options
author | Christian Breunig <christian@breunig.cc> | 2023-02-09 07:30:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-09 07:30:59 +0100 |
commit | 10ab68a018dd137ee9a6350c131f65ec6e12e446 (patch) | |
tree | f8949f3e65c3772599eabe4bf219d60d22d6709c /op-mode-definitions | |
parent | 707688894c1a02953b62eadb318b0ee398c799dd (diff) | |
parent | b17251334c57c2f6875c19ad4e6c6127aa9e1811 (diff) | |
download | vyos-1x-10ab68a018dd137ee9a6350c131f65ec6e12e446.tar.gz vyos-1x-10ab68a018dd137ee9a6350c131f65ec6e12e446.zip |
Merge pull request #1790 from Zen3515/current-add-container-login
container: T4959: Add container registry authentication config for containers
Diffstat (limited to 'op-mode-definitions')
-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 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> |