mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-11 18:28:11 +00:00
Change el8 addons to retry confluent handler
If DD is in play, drivers may appear later, and we have to wait for them in a future invocation.
This commit is contained in:
parent
dad68bdf63
commit
fba82f9379
@ -1,6 +1,5 @@
|
||||
#!/bin/sh
|
||||
[ -e /tmp/confluent.initq ] && return 0
|
||||
echo -n "" > /tmp/confluent.initq
|
||||
TRIES=0
|
||||
oum=$(umask)
|
||||
umask 0077
|
||||
@ -16,6 +15,8 @@ while ! grep ^EXTMGRINFO: /etc/confluent/confluent.info | awk -F'|' '{print $3}'
|
||||
/opt/confluent/bin/copernicus -t > /etc/confluent/confluent.info
|
||||
done
|
||||
cd /
|
||||
grep ^EXTMGRINFO: /etc/confluent/confluent.info || return 0
|
||||
echo -n "" > /tmp/confluent.initq
|
||||
|
||||
nodename=$(grep ^NODENAME /etc/confluent/confluent.info|awk '{print $2}')
|
||||
#TODO: blkid --label <whatever> to find mounted api
|
||||
|
Loading…
x
Reference in New Issue
Block a user