diff --git a/confluent_osdeploy/suse15/profiles/hpc/autoyast b/confluent_osdeploy/suse15/profiles/hpc/autoyast index 0c983e70..97701640 100644 --- a/confluent_osdeploy/suse15/profiles/hpc/autoyast +++ b/confluent_osdeploy/suse15/profiles/hpc/autoyast @@ -78,7 +78,7 @@ /tmp/pre.sh . /tmp/pre.sh @@ -94,7 +94,7 @@ curl $proto://$mgr/confluent-public/os/$profile/scripts/pre.sh > /tmp/pre.sh /tmp/post.sh . /tmp/post.sh diff --git a/confluent_osdeploy/suse15/profiles/hpc/scripts/firstboot.sh b/confluent_osdeploy/suse15/profiles/hpc/scripts/firstboot.sh index 08071dc1..e14d086e 100644 --- a/confluent_osdeploy/suse15/profiles/hpc/scripts/firstboot.sh +++ b/confluent_osdeploy/suse15/profiles/hpc/scripts/firstboot.sh @@ -1,6 +1,10 @@ #!/bin/sh + +# This script runs at the end of the final boot, updating status + nodename=$(grep ^NODENAME /etc/confluent/confluent.info|awk '{print $2}') mgr=$(grep ^ipv._server /etc/confluent/confluent.deploycfg|awk '{print $2}') profile=$(grep ^profile: /etc/confluent/confluent.deploycfg|sed -e 's/^rootpassword: //') proto=$(grep ^protocol: /etc/confluent/confluent.deploycfg |awk '{print $2}') apikey=$(cat /etc/confluent/confluent.apikey) +curl -f -X POST -d "status: complete" https://$mgr/confluent-api/self/updatestatus diff --git a/confluent_osdeploy/suse15/profiles/hpc/scripts/post.sh b/confluent_osdeploy/suse15/profiles/hpc/scripts/post.sh index 097ec625..addcbffd 100644 --- a/confluent_osdeploy/suse15/profiles/hpc/scripts/post.sh +++ b/confluent_osdeploy/suse15/profiles/hpc/scripts/post.sh @@ -41,4 +41,5 @@ mkdir -p /mnt/etc/confluent chmod 700 /mnt/etc/confluent cp /tmp/confluent.* /mnt/etc/confluent/ cp -a /tls /mnt/etc/confluent/ +cp -a /tls/*.0 /mnt/var/lib/ca-certificates/openssl