diff --git a/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh b/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh index 53919ed3..35097b7e 100644 --- a/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh +++ b/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh @@ -1,12 +1,12 @@ #!/bin/sh [ -e /tmp/confluent.initq ] && return 0 echo -n "" > /tmp/confluent.initq -cd /sys/class/net -for currif in *; do - ip link set $currif up -done -cd - while ! grep MANAGER /tmp/confluent.info >& /dev/null; do + cd /sys/class/net + for currif in *; do + ip link set $currif up + done + cd - /opt/confluent/bin/copernicus -t > /tmp/confluent.info done read ifidx < /etc/confluent/ca.pem echo -n "" > /tmp/confluent.initq -cd /sys/class/net -for currif in *; do - ip link set $currif up -done -cd - while ! grep MANAGER /etc/confluent/confluent.info >& /dev/null; do + cd /sys/class/net + for currif in *; do + ip link set $currif up + done + cd - /opt/confluent/bin/copernicus -t > /etc/confluent/confluent.info done read ifidx <