From 3fdcecb8c6b7d97361e2e28646dfe8d7d3f65e9f Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 1 Jul 2020 10:43:24 -0400 Subject: [PATCH] Suppress spurious error output Have the process start cleaner in EL8 deployments --- .../el8/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh | 1 + 1 file changed, 1 insertion(+) 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 5c1fd05a..2e88fb1f 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 @@ -5,6 +5,7 @@ TRIES=0 oum=$(umask) umask 0077 mkdir -p /etc/confluent +touch /etc/confluent/confluent.info umask $oum cd /sys/class/net while ! grep ^EXTMGRINFO: /etc/confluent/confluent.info | awk -F'|' '{print $3}' | grep 1 >& /dev/null && [ "$TRIES" -lt 60 ]; do