lima icon indicating copy to clipboard operation
lima copied to clipboard

examples: Add Amazon Linux 2 Disk Image

Open reishoku opened this issue 3 years ago • 2 comments

This PR includes:

  • example YAML configuration of Amazon Linux 2 on Lima.

As of now (2021-Feb-03):

  • containerd does not seem to work

    • stucks at sshfs binary to be installed when containerd installation is enabled
    • Amazon Linux 2 has yum, but it doesn't have dnf, therefore installation of packages fails (@ https://github.com/lima-vm/lima/blob/67e465e2a57ad673cb41e5c8b51695dc783e401b/pkg/cidata/cidata.TEMPLATE.d/boot/30-install-packages.sh )
  • legacyBIOS is needed to boot (similar to Rocky Linux)

  • Amazon Linux 2022 (successor of Amazon Linux 2, current in Preview state) seemingly has dnf, so Amazon Linux 2022 should support containerd.


Signed-off-by: KOSHIKAWA Kenichi <reishoku.misc ~~@~~ pm.me>

reishoku avatar Feb 03 '22 11:02 reishoku

Amazon Linux 2 is based on CentOS 7, which was decided not to be supported due to its age.

That is probably why sshfs is missing.

  • https://github.com/lima-vm/lima/pull/344

  • https://github.com/lima-vm/lima/commit/27d22f657e1302de8bedda540927c45af29d37a0 was the old commit that still had centos 7 support

No idea why you want to run this dinosaur.

Looks like the new Amazon Linux 2022 will be based on Fedora directly, rather than CentOS Stream.

afbjorklund avatar Feb 03 '22 16:02 afbjorklund

I agree with @afbjorklund . Let's wait until the release of the 2022 edition.

AkihiroSuda avatar Feb 04 '22 03:02 AkihiroSuda

Can we close this, or should it be moved next to CentOS 7 in the "deprecated" section perhaps?

Amazon Linux 2 end of support date (End of Life, or EOL) has been extended by two years from 2023-06-30 to 2025-06-30 to provide customers with ample time to migrate to the next version.

https://aws.amazon.com/amazon-linux-2/faqs/

afbjorklund avatar Nov 06 '23 13:11 afbjorklund

Let's close this. Still welcome PR for AL2023.

AkihiroSuda avatar Nov 06 '23 13:11 AkihiroSuda