damp-musician-70636
05/06/2025, 4:28 PMdamp-musician-70636
05/06/2025, 4:40 PMMay 06 18:34:37 myserver combustion[1503]: [INFO] finding release for channel stable
May 06 18:34:38 myserver combustion[1503]: [INFO] using v1.31.8+rke2r1 as release
May 06 18:34:38 myserver combustion[1503]: [INFO] downloading checksums at <https://github.com/rancher/rke2/releases/download/v1.31.8%2Brke2r1/sha256sum-amd64.txt>
May 06 18:34:39 myserver combustion[1503]: [INFO] downloading tarball at <https://github.com/rancher/rke2/releases/download/v1.31.8%2Brke2r1/rke2.linux-amd64.tar.gz>
May 06 18:34:42 myserver combustion[1503]: [INFO] verifying tarball
May 06 18:34:42 myserver combustion[1503]: [INFO] unpacking tarball file to /usr/local
May 06 18:34:43 myserver combustion[1503]: Running in chroot, ignoring command 'daemon-reload'
the time between the "Downloading tarball" and "verifying tarball" is almost instantaneous, so I very much doubt it's downloading anything serious, although the network is configured and working.damp-musician-70636
05/06/2025, 4:45 PM#!/bin/bash
# combustion: network prepare
set -euxo pipefail
umask 077 # Required for NM config
mkdir -p /etc/NetworkManager/system-connections/
cat >/etc/NetworkManager/system-connections/static.nmconnection <<-EOF
[connection]
id=static
type=ethernet
interface-name=eth0
autoconnect=true
[ipv4]
method=manual
dns=1.1.1.1
address1=192.168.7.21/24,192.168.7.254
ignore_auto_dns=true
[ipv6]
dns-search=
addr-gen-mode=eui64
method=ignore
EOF
if [ "${1-}" = "--prepare" ]; then
exit 0
fi
# Redirect output to the console
exec > >(exec tee -a /dev/tty0) 2>&1
systemctl enable sshd.service
curl -sfL <https://get.rke2.io> | sh -
# Leave a marker
echo "Configured with combustion" > /etc/issue.d/combustion
# Close outputs and wait for tee to finish.
exec 1>&- 2>&-; wait;
damp-musician-70636
05/06/2025, 4:48 PMbumpy-tomato-36167
05/06/2025, 4:53 PMcreamy-pencil-82913
05/06/2025, 5:01 PMthe time between the “Downloading tarball” and “verifying tarball” is almost instantaneous, so I very much doubt it’s downloading anything seriousThe tarball is only like 36mb, how long do you expect it to take to sha256sum a few megabytes?
creamy-pencil-82913
05/06/2025, 5:04 PMdamp-musician-70636
05/06/2025, 5:26 PMcreamy-pencil-82913
05/06/2025, 5:29 PMcreamy-pencil-82913
05/06/2025, 5:30 PMcreamy-pencil-82913
05/06/2025, 5:31 PMdamp-musician-70636
05/06/2025, 5:35 PMdamp-musician-70636
05/06/2025, 5:36 PMcreamy-pencil-82913
05/06/2025, 5:37 PMcreamy-pencil-82913
05/06/2025, 5:38 PMdamp-musician-70636
05/06/2025, 5:42 PMdamp-musician-70636
05/06/2025, 5:42 PMdamp-musician-70636
05/06/2025, 5:43 PMdamp-musician-70636
05/06/2025, 5:43 PMdamp-musician-70636
05/07/2025, 1:54 PMso perhaps I can install cloud-init with zypper in combustion, then have cloud-init run on first boot...I can tryso this works reasonably well, still refining some details but it roughly works
witty-jelly-95845
05/07/2025, 5:46 PMdamp-musician-70636
05/07/2025, 5:56 PMdamp-musician-70636
05/07/2025, 5:56 PMdamp-musician-70636
05/07/2025, 5:57 PM