2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Generate ifidx file

Use apiclient to generate ifidx for nmcli c u
This commit is contained in:
Jarrod Johnson 2020-08-06 18:56:23 -04:00
parent f55dc8104b
commit 9c079a4203

View File

@ -8,6 +8,7 @@
# method is to edit the kicktstart file and comment out or
# delete %include /tmp/partitioning
/usr/libexec/platform-python /etc/confluent/apiclient >& /dev/null
nicname=$(ip link|grep ^$(cat /tmp/confluent.ifidx): | awk '{print $2}' | awk -F: '{print $1}')
nmcli c u $nicname
nodename=$(grep ^NODENAME /etc/confluent/confluent.info|awk '{print $2}')