From 496be816ff61a3ef20214396ea03e39a4bce1716 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 3 Dec 2021 12:50:03 -0500 Subject: [PATCH] Add exit 0 to avoid failed systemd unit --- .../initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_osdeploy/coreos/initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh b/confluent_osdeploy/coreos/initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh index f6a6378e..ba5b4602 100644 --- a/confluent_osdeploy/coreos/initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh +++ b/confluent_osdeploy/coreos/initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh @@ -70,6 +70,7 @@ fi curl -sf https://$confluent_mgr/confluent-public/os/${confluent_profile}/scripts/onboot.sh > /tmp/onboot.sh [ -s /tmp/onboot.sh ] && . /tmp/onboot.sh +exit 0 EOF chmod 755 /sysroot/opt/confluent/bin/onboot.sh chcon system_u:object_r:bin_t:s0 /sysroot/opt/confluent/bin/onboot.sh