From e28f6b87fcad7e7eea1c780da1227820ff16ab71 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 23 Jul 2020 14:39:17 -0400 Subject: [PATCH] Fix RHVH apikey location --- confluent_osdeploy/rhvh4/profiles/default/scripts/setupssh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/rhvh4/profiles/default/scripts/setupssh.sh b/confluent_osdeploy/rhvh4/profiles/default/scripts/setupssh.sh index 92689c1c..6d3fbf52 100644 --- a/confluent_osdeploy/rhvh4/profiles/default/scripts/setupssh.sh +++ b/confluent_osdeploy/rhvh4/profiles/default/scripts/setupssh.sh @@ -18,6 +18,6 @@ chmod 700 /mnt/sysimage/root/.ssh/ cp /root/.ssh/authorized_keys /mnt/sysimage/root/.ssh/ chmod 600 /mnt/sysimage/root/.ssh/authorized_keys cp /etc/ssh/ssh_known_hosts /mnt/sysimage/etc/ssh/ -curl -f -H "CONFLUENT_NODENAME: $nodename" -H "CONFLUENT_APIKEY: $(cat /etc/confluent.apikey)" https://$mgr/confluent-api/self/nodelist > /tmp/allnodes +curl -f -H "CONFLUENT_NODENAME: $nodename" -H "CONFLUENT_APIKEY: $(cat /etc/confluent/confluent.apikey)" https://$mgr/confluent-api/self/nodelist > /tmp/allnodes cp /tmp/allnodes /mnt/sysimage/etc/ssh/shosts.equiv cp /tmp/allnodes /mnt/sysimage/root/.shosts