lxc / lxc-ci

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

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

Closed ghost closed 1 month ago

ghost commented 1 month ago

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

stgraber commented 1 month ago

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

ghost commented 1 month ago

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

stgraber commented 1 month 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.