2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-19 08:52:20 +00:00
Files
confluent/confluent_osdeploy/el9-diskless/profiles/default/scripts
Markus Hilger e23873888f Serve installtodisk syncfiles with the sshd of the image
After image2disk, installimage stopped the sshd of the image and moved
port 22 to the initramfs sshd, chrooted into the install target, by
sending that sshd HUP. The el9 initramfs only starts its sshd with
debugssh, and on EL 9.8 it cannot start at all without sshd-session, so
normally nothing listened on port 22. The syncfiles push of post.sh then
failed with connection refused while the node still reported completed.

Restart the sshd of the image instead, chrooted into the install target.
It is always present and matches the OpenSSH helpers of the image, so
this also works for images packed or captured before the initramfs fix.
Wait for the old sshd to exit first, so the new one can bind port 22.
2026-11-09 20:26:06 +01:00
..
2022-06-06 13:18:37 -04:00
2022-06-06 13:18:37 -04:00
2022-06-06 13:18:37 -04:00
2022-06-06 13:18:37 -04:00
2022-06-06 13:18:37 -04:00
2026-09-04 08:39:05 -04:00
2022-06-06 13:18:37 -04:00
2022-06-06 13:18:37 -04:00