From c28578caf74b4672fd8a537a5f5d0c58ef4e5164 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 1 Jul 2020 12:12:54 -0400 Subject: [PATCH] Fix variable name in RHV-H initramfs --- .../initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3d52b928..1c909f2c 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 @@ -19,7 +19,7 @@ nodename=$(grep ^NODENAME /etc/confluent/confluent.info|awk '{print $2}') oum=$(umask) python /opt/confluent/bin/apiclient /confluent-api/self/deploycfg > /etc/confluent/confluent.deploycfg -mgridx=$(cat /tmp/confluent.ifidx) +ifidx=$(cat /tmp/confluent.ifidx) ifname=$(ip link |grep ^$ifidx:|awk '{print $2}') ifname=${ifname%:} echo $ifname > /tmp/net.ifaces