Closed akinsella closed 8 months ago
I created a Gist for easier reference and with few improvements:
Hi @akinsella
This is great work! We have now merged a major change to bring this course to v1.24. Would you please verify this against the new version, make any changes required, then ping me back so that we can see how this may be incorporated into this repo (for which of course we'll name all involved in a list of credits on the main README for this site).
Hi @akinsella thanks for the workaround. Is this an option that would work for the M2 and is there any update for v1.24? Much appreaciated.
There is an Apple Silicon version of this coming soon
Posting here some solution to get Vagrant work on Mac M1 (As more and more Mac machines are M1 CPUs based). Virtualbox is not supported at the time on M1 chips. Options are WMWare Fusion or Parallels.
Introduction notice: Provided instructions may not be fully exhaustive, however all required elements should be there to manage to get a working solution for Mac M1 ... It works on my machine ;) ...
I tried with success an installation based on Vagrant + WMWare Fusion: There is a WMWare Fusion Tech Preview available that you can install as a replacement of VirtualBox ( https://blogs.vmware.com/teamfusion/2021/09/fusion-for-m1-public-tech-preview-now-available.html ). As Parallels now supports Mac M1 chips, and that a updated provided also supports Parallels on Mac M1, you should be able to get it work with Parallels.
After VMWare Fusion installation, you have to install Vagrant with brew ( brew install vagrant / At time v2.2.19 has a defect, therefore, you have to install Vagrant 2.2.18 ).
Then, you also have to install the Vagrant vmware provider:
Finally, I adapted Vagrantfile from [https://github.com/mmumshad/certified-kubernetes-administrator-course](Certified Kubernetes Administrator course) as an example of a working configuration:
Then, you can run:
A great resource to fix any issue at installation:
You may have to run
Vagran up
/Vagran down
/Vagran destroy
a few times to overcome some blocking situation.Thanks to @sbailliez and @fatso83 that paved the way to the solution.