Closed luangong closed 4 months ago
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.
I have a MacBook Pro with M1 Pro and VMware Fusion installed. Please let me know what I can do to help.
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.
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:
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.
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?
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.
Agreed.
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.
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.
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.
Current Alternative
Can We Help You Implement This