2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-07-29 17:19:41 +00:00

Successfully indicate install_url and TLS setup

While curl and agama download are happy with the CA bundle, zypper was not.  Have pre.sh properly set up the CA certs.

Additionally, indicate the install subdirectory of the repository to agama via it's cmdline conf.
This commit is contained in:
Jarrod Johnson
2026-07-02 14:57:26 -04:00
parent a8cd9a24d5
commit f6d7a47140
2 changed files with 3 additions and 2 deletions
@@ -261,8 +261,7 @@ fi
ISOSRC=$(blkid -t TYPE=iso9660|grep -Ei ' LABEL="'$ID-$VERSION_ID|sed -e s/:.*//)
if [ -z "$ISOSRC" ]; then
echo root=live:$proto://$mgr/confluent-public/os/$profilename/distribution/1/LiveOS/squashfs.img >> /etc/cmdline.d/01-confluent.conf
echo inst.install_url=$proto://$mgr/confluent-public/os/$profilename/distribution/1 >> /etc/cmdline.d/01-confluent.conf
echo -n " "inst.install_url=$proto://$mgr/confluent-public/os/$profilename/distribution/1 >> /run/agama/cmdline.d/agama.conf
echo -n " "inst.install_url=$proto://$mgr/confluent-public/os/$profilename/distribution/1/install >> /run/agama/cmdline.d/agama.conf
echo -n " "inst.script=$proto://$mgr/confluent-public/os/$profilename/autoinstall.sh" " >> /run/agama/cmdline.d/agama.conf
#echo inst.=$proto://$mgr/confluent-public/os/$profilename/distribution >> /etc/cmdline.d/01-confluent.conf
#root=anaconda-net:$proto://$mgr/confluent-public/os/$profilename/distribution
@@ -11,6 +11,8 @@ if [ "$cryptboot" != "" ] && [ "$cryptboot" != "none" ] && [ "$cryptboot" != "n
echo "****Encrypted boot requested, but not implemented for this OS, halting install"
while :; do sleep 86400; done
fi
cp /etc/confluent/tls/*.pem /etc/pki/trust/anchors/
update-ca-certificates
echo "Initializing SSH"
for pubkey in /etc/ssh/ssh_host_*key.pub; do
privfile=${pubkey%.pub}