mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-28 05:50:30 +00:00
Once transitioning to install, the CA bundle was lost, because the symlink lead out of sysroot. Fix by prepending sysroot if symlink
8 lines
198 B
Bash
8 lines
198 B
Bash
#!/bin/bash
|
|
BUNDLENAME=/sysroot/etc/pki/tls/certs/ca-bundle.crt
|
|
while [ -h $BUNDLENAME ]; do
|
|
BUNDLENAME=/sysroot/$(readlink $BUNDLENAME)
|
|
done
|
|
|
|
cat /etc/pki/tls/certs/ca-bundle.crt > $BUNDLENAME
|