lxc / lxc-ci

LXC continuous integration and build scripts
https://jenkins.linuxcontainers.org
Apache License 2.0
265 stars 136 forks source link

debian and ubuntu containers cloud container doesnt have openssh-server installed #851

Closed Sloopy3333 closed 1 week ago

Sloopy3333 commented 1 week ago

Debian and Ubuntu container images doesn't have openssh-server installed, this makes them harder to configure through ansible.

stgraber commented 1 week ago

That's intentional. We don't want to have services listening on the network in our default images.

Sloopy3333 commented 6 days ago

got it, but just out of curiosity why is this not the case with other images like rocky, alma

stgraber commented 6 days ago

Just pushed a commit to remove openssh-server from those images, not sure how it got in there :)

It's possible that cloud-init was failing to run without openssh-server at some point in time, not too sure. Anyway, the next image builds won't have openssh-server anymore and we'll see if that affects our automatic tests.