From 5b605aa9d7580731569dcbbcc83f3fe61d1c9d6c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 18 Jun 2020 15:26:35 -0400 Subject: [PATCH] Further address EL7/RHV peculiarities EL7 tends to skip the initqueue. Hook finished to prevent that. --- .../usr/lib/dracut/hooks/initqueue/finished/confluent.sh | 1 + confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/initqueue/finished/confluent.sh diff --git a/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/initqueue/finished/confluent.sh b/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/initqueue/finished/confluent.sh new file mode 100644 index 00000000..82cde5eb --- /dev/null +++ b/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/initqueue/finished/confluent.sh @@ -0,0 +1 @@ +[ -e /tmp/confluent.initq ] diff --git a/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh b/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh index 318e6eab..0ec4b16b 100644 --- a/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh +++ b/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh @@ -56,5 +56,5 @@ run_remote_python getinstalldisk if [ -e /tmp/installdisk ]; then echo clearpart --all --initlabel >> /tmp/partitioning echo ignoredisk --only-use $(cat /tmp/installdisk) >> /tmp/partitioning - echo autopart --nohome $LUKSPARTY >> /tmp/partitioning + echo autopart --type=thinp --nohome $LUKSPARTY >> /tmp/partitioning fi