mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-23 01:53:28 +00:00
211b8ab7e8
When console detected, actually notify the relevant console.
14 lines
475 B
Bash
14 lines
475 B
Bash
#!/bin/bash
|
|
echo -n "" >> /tmp/net.ifaces
|
|
cat /tls/*.pem >> /etc/pki/tls/certs/ca-bundle.crt
|
|
if ! grep console= /proc/cmdline >& /dev/null; then
|
|
autocons=$(/opt/confluent/bin/autocons)
|
|
if [ -n "$autocons" ]; then
|
|
echo console=$autocons |sed -e 's!/dev/!!' >> /etc/cmdline.d/01-autocons.conf
|
|
autocons=${autocons%,*}
|
|
echo "Initializing auto detected console when installer starts" > $autocons
|
|
fi
|
|
fi
|
|
. /lib/anaconda-lib.sh
|
|
wait_for_kickstart
|