diff --git a/misc/confluent-prepivot.sh.rh8 b/misc/confluent-prepivot.sh.rh8 index 5cdefe25..3cf93cc6 100644 --- a/misc/confluent-prepivot.sh.rh8 +++ b/misc/confluent-prepivot.sh.rh8 @@ -1,2 +1,7 @@ #!/bin/bash -cat /etc/pki/tls/certs/ca-bundle.crt > /sysroot/etc/pki/tls/certs/ca-bundle.crt +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