diff --git a/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh b/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh index 0d3dc85b..cf9e7ca2 100644 --- a/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh +++ b/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh @@ -41,6 +41,9 @@ else if [ ! -f /etc/confluent/confluent.apikey ]; then /opt/confluent/bin/clortho $nodename $mgr > /etc/confluent/confluent.apikey fi + if echo $mgr | grep '%' > /dev/null; then + echo $mgr | awk -F% '{print $2}' > /tmp/confluent.ifidx + fi apikey=$(cat /etc/confluent/confluent.apikey) if echo $mgr | grep ':' > /dev/null; then mgr="[$mgr]"