2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-25 12:41:39 +00:00

Fixup image retrieval code for RHV-H

This commit is contained in:
Jarrod Johnson 2020-06-19 09:13:19 -04:00
parent e8d00bf229
commit 6c920206e7

View File

@ -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 -