2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-21 17:11:58 +00:00

Regenerate initrd after install

The drivers on target may differ from source, regenerate initramfs to allow for booting
This commit is contained in:
Jarrod Johnson 2024-11-15 09:19:51 -05:00
parent f88e9ecebf
commit 9c589e8352

View File

@ -40,6 +40,9 @@ run_remote_parts post.d
# Induce execution of remote configuration, e.g. ansible plays in ansible/post.d/
run_remote_config post.d
# rebuild initrd, pick up new drivers if needed
dracut -f /boot/initramfs-$(uname -r).img $(uname -r)
curl -sf -X POST -d 'status: staged' -H "CONFLUENT_NODENAME: $nodename" -H "CONFLUENT_APIKEY: $confluent_apikey" https://$confluent_websrv/confluent-api/self/updatestatus
kill $logshowpid