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 64
64
# if we are using podman machine then we do not bind mount anything (for now!)
65
65
REMOTE_PODMAN=$( podman system connection list -q | wc -l)
66
66
if [ $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
69
71
PKI_HOST_MOUNT_ARGS=" -v /etc/pki:/etc/pki:ro"
70
72
elif [ -d /etc/ssl ]; then
71
73
PKI_HOST_MOUNT_ARGS=" -v /etc/ssl:/etc/ssl:ro"
You can’t perform that action at this time.
0 commit comments