mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-10 07:44:36 +00:00
Fix python2/3 handling in el8 pre.sh
This commit is contained in:
parent
d17b1d060c
commit
cf6975ded3
@ -78,5 +78,12 @@ if [ -e /tmp/installdisk -a ! -e /tmp/partitioning ]; then
|
||||
echo ignoredisk --only-use $(cat /tmp/installdisk) >> /tmp/partitioning
|
||||
echo autopart --nohome $LUKSPARTY >> /tmp/partitioning
|
||||
fi
|
||||
python /etc/confluent/apiclient /confluent-public/os/$confluent_profile/kickstart.custom -o /tmp/kickstart.custom
|
||||
if [ -e /usr/libexec/platform-python ]; then
|
||||
python=/usr/libexec/platform-python
|
||||
elif [ -e /usr/bin/python3 ]; then
|
||||
python=/usr/byn/python3
|
||||
else
|
||||
python=/usr/bin/python
|
||||
fi
|
||||
$python /etc/confluent/apiclient /confluent-public/os/$confluent_profile/kickstart.custom -o /tmp/kickstart.custom
|
||||
kill $logshowpid
|
||||
|
Loading…
x
Reference in New Issue
Block a user