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