mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 11:01:09 +00:00
Add RHV4.4 support to RHV4
Again, we need to handle the drastic differences in python between *minor* versions of RHVH
This commit is contained in:
parent
b796d19a4c
commit
aed96a2711
@ -63,9 +63,14 @@ if [ -e /tmp/installdisk ]; then
|
||||
echo autopart --type=thinp --nohome $LUKSPARTY >> /tmp/partitioning
|
||||
fi
|
||||
cd $(mktemp -d)
|
||||
python /etc/confluent/apiclient /confluent-public/os/$profile/image.rpm -o image.rpm
|
||||
if [ -x /usr/bin/python ]; then
|
||||
pythton=/usr/bin/python
|
||||
elif [ -x /usr/libexec/platform-python ]; then
|
||||
python=/usr/libexec/platform-python
|
||||
fi
|
||||
$python /etc/confluent/apiclient /confluent-public/os/$profile/image.rpm -o image.rpm
|
||||
rpm2cpio image.rpm | cpio -dumi
|
||||
ln -s $(find $(pwd) -name *img) /tmp/install.img
|
||||
cd -
|
||||
python /etc/confluent/apiclient /confluent-public/os/$profile/kickstart.custom -o /tmp/kickstart.custom
|
||||
$python /etc/confluent/apiclient /confluent-public/os/$profile/kickstart.custom -o /tmp/kickstart.custom
|
||||
run_remote pre.custom
|
||||
|
Loading…
Reference in New Issue
Block a user