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 -