Skip to content

Commit

Permalink
Use 1.x version of amazon-efs-utils on Ubuntu Jammy
Browse files Browse the repository at this point in the history
The Molecule tests pass when we use version 2.x on that platform, but
when building an actual AMI the installation of cargo pulls in the
libssh2-1 package, which seems to break the running ssh server.  See
this build, for example:
https://github.com/cisagov/ubuntu-server-packer/actions/runs/9226352690/job/25386015270?pr=24

On Ubuntu Noble the installation of cargo pulls in libssh2-1t64, which
hopefully does not break the running ssh server.
  • Loading branch information
jsf9k committed May 24, 2024
1 parent cd56db2 commit 90f2f5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion molecule/default/tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_packages(host):
if distribution in ["fedora"]:
pkgs = ["amazon-efs-utils", "cargo", "make", "openssl-devel", "rpm-build"]
elif distribution in ["debian", "kali", "ubuntu"]:
if codename in ["buster", "bullseye", "bookworm"]:
if codename in ["buster", "bullseye", "bookworm", "jammy"]:
pkgs = ["amazon-efs-utils", "binutils", "make"]
else:
pkgs = [
Expand Down
1 change: 1 addition & 0 deletions vars/Ubuntu_jammy.yml

0 comments on commit 90f2f5e

Please sign in to comment.