Merge pull request #2 from claude-hdb/fix/openssh-server-dep

fix: bootstrap installs openssh-server (pristine images lack sshd_config.d)
This commit is contained in:
Daniel Marin 2026-07-11 11:39:31 +01:00 committed by GitHub
commit 95e30b3170
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,7 +66,11 @@ fi
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
log "installing base packages" log "installing base packages"
apt-get update -qq apt-get update -qq
apt-get install -y -qq curl ca-certificates unattended-upgrades # openssh-server: a rig box is managed over SSH (Coolify SSHes in as root),
# and the hardening drop-in below targets /etc/ssh/sshd_config.d/ — which
# only exists once the package is installed. Cloud images ship it; pristine
# container/VM images (the Incus rehearsal) do not.
apt-get install -y -qq curl ca-certificates unattended-upgrades openssh-server
# enable periodic unattended upgrades (canonical file; idempotent overwrite) # enable periodic unattended upgrades (canonical file; idempotent overwrite)
cat > /etc/apt/apt.conf.d/20auto-upgrades <<'EOF' cat > /etc/apt/apt.conf.d/20auto-upgrades <<'EOF'