From 654932efb6ae76c69177919ccba17a6375c04c03 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 11 Jun 2020 10:26:16 -0400 Subject: [PATCH] Modify the correct line for ks manipulation --- confluent_osdeploy/esxi7/initramfs/bin/dcuiweasel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_osdeploy/esxi7/initramfs/bin/dcuiweasel b/confluent_osdeploy/esxi7/initramfs/bin/dcuiweasel index d3f535f2..dc436ff2 100644 --- a/confluent_osdeploy/esxi7/initramfs/bin/dcuiweasel +++ b/confluent_osdeploy/esxi7/initramfs/bin/dcuiweasel @@ -18,9 +18,9 @@ cat /tls/*.pem > /etc/confluent/ca.pem /opt/confluent/bin/apiclient /confluent-api/self/deploycfg > /etc/confluent/confluent.deploycfg profile=$(grep ^profile: /etc/confluent/confluent.deploycfg | sed -e 's/^profile: //') /opt/confluent/bin/apiclient /confluent-public/os/$profile/kickstart > /etc/confluent/ks.cfg -/opt/confluent/bin/apiclient /confluent-public/os/$profile/scripts/makeksnet >> /etc/confluent/ks.cfg +/opt/confluent/bin/apiclient /confluent-public/os/$profile/scripts/makeksnet >> /tmp/makeksnet chmod +x /tmp/makeksnet -/tmp/makeksnet > /tmp/ksnet +/tmp/makeksnet >> /etc/confluent/ks.cfg rootpw=$(grep ^rootpassword: /etc/confluent/confluent.deploycfg|sed -e 's/^rootpassword: //') echo rootpw --iscrypted $rootpw >> /etc/confluent/ks.cfg export BOOT_CMDLINE=ks=/etc/confluent/ks.cfg