Share certs with a separate command
This commit is contained in:
parent
71bfb63bfc
commit
bfbd165056
1 changed files with 6 additions and 0 deletions
|
@ -167,7 +167,13 @@ _podman_run_args=(
|
|||
--env XDG_SESSION_TYPE=wayland
|
||||
--ipc host
|
||||
)
|
||||
_podman_certs_args=(
|
||||
--volume /etc/pki/ca-trust:/etc/pki/ca-trust:ro
|
||||
--volume /etc/ssl/certs:/etc/ssl/certs:ro
|
||||
)
|
||||
alias prun="podman run ${_podman_run_args[@]}"
|
||||
alias pruncerts="podman run ${_podman_run_args[@]} ${_podman_certs_args[@]}"
|
||||
unset _podman_certs_args
|
||||
unset _podman_run_args
|
||||
|
||||
# Desktop files (used by desktop environments within both X11 and Wayland) are
|
||||
|
|
Loading…
Reference in a new issue