From 58cf22020361da29dde61f6bbb824145efe1f43a Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 11 Oct 2021 13:30:31 -0400 Subject: [PATCH] Mask spurious output on disk cleanup --- confluent_osdeploy/el8/profiles/default/scripts/pre.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_osdeploy/el8/profiles/default/scripts/pre.sh b/confluent_osdeploy/el8/profiles/default/scripts/pre.sh index 54b079d0..8c730d4b 100644 --- a/confluent_osdeploy/el8/profiles/default/scripts/pre.sh +++ b/confluent_osdeploy/el8/profiles/default/scripts/pre.sh @@ -97,7 +97,7 @@ if [ -e /tmp/installdisk -a ! -e /tmp/partitioning ]; then echo clearpart --all --initlabel >> /tmp/partitioning echo ignoredisk --only-use $(cat /tmp/installdisk) >> /tmp/partitioning echo autopart --nohome $LUKSPARTY >> /tmp/partitioning - dd if=/dev/zero of=/dev/$(cat /tmp/installdisk) bs=1M count=1 - vgchange -a n + dd if=/dev/zero of=/dev/$(cat /tmp/installdisk) bs=1M count=1 >& /dev/null + vgchange -a n >& /dev/null fi kill $logshowpid