File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 6464# if we are using podman machine then we do not bind mount anything (for now!)
6565REMOTE_PODMAN=$( podman system connection list -q | wc -l)
6666if [ $REMOTE_PODMAN -eq 0 ]; then # If we are not using podman machine we check the hosts folders
67- # Use /etc/pki by default and try a couple of fallbacks if it does not exist
68- if [ -d /etc/pki ]; then
67+ # We check /etc/pki/tls because on ubuntu /etc/pki/fwupd sometimes
68+ # exists but not /etc/pki/tls and we do not want to bind mount in such a case
69+ # as it would find no certificates at all.
70+ if [ -d /etc/pki/tls ]; then
6971 PKI_HOST_MOUNT_ARGS=" -v /etc/pki:/etc/pki:ro"
7072 elif [ -d /etc/ssl ]; then
7173 PKI_HOST_MOUNT_ARGS=" -v /etc/ssl:/etc/ssl:ro"
You can’t perform that action at this time.
0 commit comments