diff --git a/confluent_osdeploy/suse15-diskless/initramfs/lib/dracut/hooks/cmdline/10-confluentdiskless.sh b/confluent_osdeploy/suse15-diskless/initramfs/lib/dracut/hooks/cmdline/10-confluentdiskless.sh index d8a464af..2bd08f79 100644 --- a/confluent_osdeploy/suse15-diskless/initramfs/lib/dracut/hooks/cmdline/10-confluentdiskless.sh +++ b/confluent_osdeploy/suse15-diskless/initramfs/lib/dracut/hooks/cmdline/10-confluentdiskless.sh @@ -69,6 +69,7 @@ for hdl in $(tpm2_getcap handles-persistent|awk '{print $2}'); do unsealeddata=$(tpm2_unseal -Q -c $hdl) if [[ $unsealeddata == "CONFLUENT_APIKEY:"* ]]; then confluent_apikey=${unsealeddata#CONFLUENT_APIKEY:} + echo $confluent_apikey > /etc/confluent/confluent.apikey fi done needseal=0