mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-21 09:02:07 +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:
parent
f88e9ecebf
commit
9c589e8352
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user