From c9e1ecb616f3e015ae5c6391c718783383025fac Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 2 Jul 2020 16:34:50 -0400 Subject: [PATCH] Fix use of touch when touch is not present --- .../initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2e88fb1f..da69d7c3 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,7 +5,7 @@ TRIES=0 oum=$(umask) umask 0077 mkdir -p /etc/confluent -touch /etc/confluent/confluent.info +echo -n > /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