mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Improve autocons
Provide more feedback and have a proper cmdline style argument
This commit is contained in:
parent
76f7c12ca5
commit
23e8642950
@ -1,9 +1,12 @@
|
||||
#!/bin/bash
|
||||
echo -n "" >> /tmp/net.ifaces
|
||||
cat /tls/*.pem >> /etc/pki/tls/certs/ca-bundle.crt
|
||||
autocons=$(/opt/confluent/bin/autocons)
|
||||
if [ -n "$autocons" ]; then
|
||||
echo console=$autocons >> /etc/cmdline.d/01-autocons
|
||||
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
|
||||
echo "Initializing auto detected console when installer starts"
|
||||
fi
|
||||
fi
|
||||
. /lib/anaconda-lib.sh
|
||||
wait_for_kickstart
|
||||
|
Loading…
Reference in New Issue
Block a user