Skip to content

Commit

Permalink
Use stricter pattern for ca-certs and ca_certs
Browse files Browse the repository at this point in the history
Signed-off-by: Anders F Björklund <[email protected]>
  • Loading branch information
afbjorklund committed Apr 12, 2024
1 parent c370bfe commit 8472c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lima-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ fi
LIMA_CA_CERTS=/usr/share/ca-certificates/lima-init-ca-certs.crt
awk -f- "${LIMA_CIDATA_MNT}"/user-data <<'EOF' > ${LIMA_CA_CERTS}
# Lima currently uses "ca-certs", which is deprecated and should be "ca_certs"
/^ca.certs:/ {
/^ca[-_]certs:/ {
cacerts = 1
next
}
Expand Down

0 comments on commit 8472c77

Please sign in to comment.