2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 11:01:09 +00:00
confluent/confluent_osdeploy/ubuntu20.04-diskless/initramfs/conf/conf.d/confluent
2023-11-08 10:22:51 -05:00

10 lines
381 B
Plaintext

if ! grep console= /proc/cmdline > /dev/null; then
mkdir -p /custom-installation
/opt/confluent/bin/autocons > /custom-installation/autocons.info
cons=$(cat /custom-installation/autocons.info)
if [ ! -z "$cons" ]; then
echo "Auto-detected serial console: $cons" > ${cons%,*}
fi
fi
echo . /scripts/init-premount/confluent >> /scripts/init-premount/ORDER