From c587cd34ac9fd9b7102776452b116c8c028296e2 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 20 May 2020 14:10:06 -0400 Subject: [PATCH] Check correct location for deploycfg This should fix the autocons behavior in ubuntu. --- confluent_osdeploy/ubuntu20.04/profiles/default/scripts/post.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/ubuntu20.04/profiles/default/scripts/post.sh b/confluent_osdeploy/ubuntu20.04/profiles/default/scripts/post.sh index 966981db..84240b86 100755 --- a/confluent_osdeploy/ubuntu20.04/profiles/default/scripts/post.sh +++ b/confluent_osdeploy/ubuntu20.04/profiles/default/scripts/post.sh @@ -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