Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some ARM64 boxes are missing on Vagrant Cloud #1545

Closed
luangong opened this issue Feb 2, 2024 · 10 comments
Closed

Some ARM64 boxes are missing on Vagrant Cloud #1545

luangong opened this issue Feb 2, 2024 · 10 comments
Assignees
Labels
Status: Untriaged An issue that has yet to be triaged. Triage: Feature Request Indicates an issue requesting new functionality.

Comments

@luangong
Copy link

luangong commented Feb 2, 2024

Enhancement

Some ARM64 boxes are missing on Vagrant Cloud.

The Need

Here are some ARM64 boxes (among the most popular distros) that are missing under the bento org on Vagrant Cloud.

  • Debian 10 for ARM64
  • Debian 11 for ARM64 (there is a box for parallels, but none for vmware_desktop)
  • Rocky Linux 8 for ARM64
  • Alma Linux 8 for ARM64
  • Arch Linux for ARM64

Current Alternative

Can We Help You Implement This

@luangong luangong added the Status: Untriaged An issue that has yet to be triaged. label Feb 2, 2024
@Stromweld Stromweld self-assigned this Feb 2, 2024
@Stromweld Stromweld added the Triage: Feature Request Indicates an issue requesting new functionality. label Feb 2, 2024
@Stromweld
Copy link
Collaborator

These are still a work in progress. We don't support Arch Linux for either CPU architecture though. Any help on testing and updating the configs to get them working is greatly appreciated. Otherwise this is a side project for me and will take some time to get them all tested and working.

@luangong
Copy link
Author

luangong commented Feb 2, 2024

I have a MacBook Pro with M1 Pro and VMware Fusion installed. Please let me know what I can do to help.

@Stromweld
Copy link
Collaborator

Stromweld commented Feb 2, 2024

you can clone repo and run tests with packer build -only=vmware-iso.vm -on-error=ask -var-file=./os_pkrvars/almalinux/ualmalinux-8-aarch64.pkrvars.hcl packer_templates and connect to VM to see the issue. Most likely in the vars file the boot_command may need to be updated or the boot wait might need to be adjusted. Typically if 1 provider worked then the boot_command is good, just the timing of the boot_wait needs to be adjusted.

@luangong
Copy link
Author

luangong commented Feb 8, 2024

It seems that RHEL 8 and most of its clones (AlmaLinux 8, Rocky Linux 8, etc.) don’t support Apple silicon Macs with VMware Fusion because of CPU page size difference. The only exceptions are Oracle Linux 8.7, 8.8, and 8.9.

Here are some links:

@Stromweld
Copy link
Collaborator

that makes sense then. we try to stay on the latest so we'd be focused on 8.9 versions. Thanks for the info nice find.

@luangong
Copy link
Author

luangong commented Feb 9, 2024

I think it may still be worth it to dig deeper and see if we can patch/recompile the kernel like what Oracle Linux 8.7-8.9 are doing — not only for Apple silicon Macs with VMware Fusion — but also for other ARM-based PCs/OSes with other hypervisors.

@Stromweld What do you think?

@Stromweld
Copy link
Collaborator

I think that is probably way beyond the scope of this project as it's meant more for as close to stock install as possible for testing tools like chef. The only real modifications we are doing is running patches to keep them up to date and removing unneeded things for a VM like linux-firmware to shrink the image size to make it faster and easier to download.

@luangong
Copy link
Author

Agreed.

@luangong luangong closed this as not planned Won't fix, can't repro, duplicate, stale Feb 12, 2024
@luangong
Copy link
Author

luangong commented Feb 12, 2024

Would you please build Oracle Linux 8.7–8.9 arm64 boxes for the vmware_desktop provider and publish them to Vagrant Cloud? Thanks! That’ll be the only way we can run RHEL 8–like boxes on an Apple silicon Mac with VMware Fusion installed.

@Stromweld
Copy link
Collaborator

I just tried building them and ran into errors during the build phase that will take some time to look at and fix. My Vmware build failed to upload tools iso and the parallels build failed to compile the guest tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged. Triage: Feature Request Indicates an issue requesting new functionality.
Projects
None yet
Development

No branches or pull requests

2 participants