lima
lima copied to clipboard
examples: Add Amazon Linux 2 Disk Image
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 installedwhen containerd installation is enabled - Amazon Linux 2 has
yum, but it doesn't havednf, therefore installation of packages fails (@ https://github.com/lima-vm/lima/blob/67e465e2a57ad673cb41e5c8b51695dc783e401b/pkg/cidata/cidata.TEMPLATE.d/boot/30-install-packages.sh )
- stucks at
-
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>
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.
I agree with @afbjorklund . Let's wait until the release of the 2022 edition.
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/
Let's close this. Still welcome PR for AL2023.