From 6c920206e7069d92c0583408168f629c1e40e528 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 19 Jun 2020 09:13:19 -0400 Subject: [PATCH] Fixup image retrieval code for RHV-H --- confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh b/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh index 209d6e0d..bd97b19a 100644 --- a/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh +++ b/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh @@ -59,7 +59,7 @@ if [ -e /tmp/installdisk ]; then echo autopart --type=thinp --nohome $LUKSPARTY >> /tmp/partitioning fi cd $(mktemp -d) -/etc/confluent/apiclient /confluent-public/os/$profile/image.rpm -o image.rpm +python /etc/confluent/apiclient /confluent-public/os/$profile/image.rpm -o image.rpm rpm2cpio image.rpm | cpio -dumi -ln -s $(find . -name *img) /tmp/install.img - +ln -s $(find $(pwd) -name *img) /tmp/install.img +cd -