2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-26 19:10:30 +00:00

Check correct location for deploycfg

This should fix the autocons behavior in
ubuntu.
This commit is contained in:
Jarrod Johnson 2020-05-20 14:10:06 -04:00
parent f8b27f1f8d
commit c587cd34ac

View File

@ -24,7 +24,7 @@ curl -f https://$mgr/confluent-public/os/$profile/scripts/firstboot.sh > /target
chmod +x /target/etc/confluent/firstboot.sh
cp /tmp/allnodes /target/root/.shosts
cp /tmp/allnodes /target/etc/ssh/shosts.equiv
textcons=$(grep ^textconsole: /etc/confluent/confluent.deploycfg |awk '{print $2}')
textcons=$(grep ^textconsole: /target/etc/confluent/confluent.deploycfg |awk '{print $2}')
if [ "$textcons" = "true" ] && ! grep console= /proc/cmdline > /dev/null; then
cons=""
if [ -f /custom-installation/autocons.info ]; then